[jOOQ/jOOQ#982] Add support for GIS extensions

- Support ST_Disjoint
This commit is contained in:
Lukas Eder 2021-11-13 14:25:39 +01:00
parent d5f5c9d8a2
commit 70e737a607
5 changed files with 265 additions and 1 deletions

View File

@ -21358,6 +21358,61 @@ public class DSL {

View File

@ -430,6 +430,7 @@ final class Names {
static final Name N_ST_ASTEXT = unquotedName("st_astext");
static final Name N_ST_CONTAINS = unquotedName("st_contains");
static final Name N_ST_CROSSES = unquotedName("st_crosses");
static final Name N_ST_DISJOINT = unquotedName("st_disjoint");
static final Name N_ST_DISTANCE = unquotedName("st_distance");
static final Name N_ST_ENDPOINT = unquotedName("st_endpoint");
static final Name N_ST_EQUALS = unquotedName("st_equals");

View File

@ -323,6 +323,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;
@ -6209,7 +6210,7 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
}
else if (parseFunctionNameIf("ST_INTERSECTS") && requireProEdition()) {
else if (parseFunctionNameIf("ST_DISJOINT") && requireProEdition()) {
@ -6218,6 +6219,11 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
}
else if (parseFunctionNameIf("ST_INTERSECTS") && requireProEdition()) {
}
else if (parseFunctionNameIf("ST_ISCLOSED") && requireProEdition()) {
@ -7760,6 +7766,8 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {

View File

@ -3703,6 +3703,19 @@ public final class QOM {

View File

@ -0,0 +1,187 @@
/*
* 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;