From 7050cc0b5c4eb0e2b9234d70dd6f44a171383e6e Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Thu, 30 Dec 2021 17:15:42 +0100 Subject: [PATCH] [jOOQ/jOOQ#12425] CachingTraverser as a top level class --- .../java/org/jooq/impl/CachingTraverser.java | 145 ++++++++++++++++++ jOOQ/src/main/java/org/jooq/impl/QOM.java | 102 +----------- 2 files changed, 148 insertions(+), 99 deletions(-) create mode 100644 jOOQ/src/main/java/org/jooq/impl/CachingTraverser.java diff --git a/jOOQ/src/main/java/org/jooq/impl/CachingTraverser.java b/jOOQ/src/main/java/org/jooq/impl/CachingTraverser.java new file mode 100644 index 0000000000..10d5c40fbd --- /dev/null +++ b/jOOQ/src/main/java/org/jooq/impl/CachingTraverser.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Other licenses: + * ----------------------------------------------------------------------------- + * Commercial licenses for this work are available. These replace the above + * ASL 2.0 and offer limited warranties, support, maintenance, and commercial + * database integrations. + * + * For more information, please visit: http://www.jooq.org/licenses + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ +package org.jooq.impl; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jOOQ/src/main/java/org/jooq/impl/QOM.java b/jOOQ/src/main/java/org/jooq/impl/QOM.java index 951e223b74..1b69cea789 100644 --- a/jOOQ/src/main/java/org/jooq/impl/QOM.java +++ b/jOOQ/src/main/java/org/jooq/impl/QOM.java @@ -46,13 +46,9 @@ import java.sql.Date; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Collection; -import java.util.Collections; import java.util.List; import java.util.UUID; -import java.util.function.BiFunction; -import java.util.function.Function; import java.util.function.Predicate; -import java.util.function.Supplier; // ... import org.jooq.Catalog; @@ -91,7 +87,6 @@ import org.jooq.Function7; import org.jooq.Function8; import org.jooq.Function9; // ... -// ... import org.jooq.GroupField; import org.jooq.Index; import org.jooq.Internal; @@ -114,6 +109,7 @@ import org.jooq.Role; import org.jooq.Row; import org.jooq.RowCountQuery; import org.jooq.RowId; +import org.jooq.SQLDialect; import org.jooq.Schema; import org.jooq.Select; import org.jooq.Sequence; @@ -126,8 +122,9 @@ import org.jooq.WindowDefinition; import org.jooq.WindowSpecification; import org.jooq.XML; import org.jooq.XMLAttributes; -import org.jooq.tools.reflect.Reflect; +import org.jooq.conf.Settings; import org.jooq.types.DayToSecond; +// ... import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -7054,99 +7051,6 @@ public final class QOM { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -