[jOOQ/jOOQ#12736] More spatial support

- ST_Dimension
This commit is contained in:
Lukas Eder 2024-06-24 15:09:48 +02:00
parent 9a36c64f20
commit c29eb589f0
4 changed files with 202 additions and 0 deletions

View File

@ -609,6 +609,7 @@ final class Names {
static final Name N_ST_COVERS = systemName("st_covers");
static final Name N_ST_CROSSES = systemName("st_crosses");
static final Name N_ST_DIFFERENCE = systemName("st_difference");
static final Name N_ST_DIMENSION = systemName("st_dimension");
static final Name N_ST_DISJOINT = systemName("st_disjoint");
static final Name N_ST_DISTANCE = systemName("st_distance");
static final Name N_ST_ENDPOINT = systemName("st_endpoint");

View File

@ -387,6 +387,7 @@ import static org.jooq.impl.DSL.square;
// ...
// ...
// ...
// ...
import static org.jooq.impl.DSL.stddevPop;
import static org.jooq.impl.DSL.stddevSamp;
import static org.jooq.impl.DSL.sum;
@ -8777,6 +8778,8 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
@ -9571,6 +9574,11 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
}
else if (parseProFunctionNameIf("ST_DIMENSION")) {
}
else if (parseProFunctionNameIf("ST_DISTANCE")) {

View File

@ -9621,6 +9621,25 @@ public final class QOM {

View File

@ -0,0 +1,174 @@
/*
* 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
*
* https://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: https://www.jooq.org/legal/licensing
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.jooq.impl;