[jOOQ/jOOQ#12736] More spatial support

- ST_IsSimple
- ST_IsValid
This commit is contained in:
Lukas Eder 2024-06-20 15:33:12 +02:00
parent d50a5b0ab9
commit a8dda0b90d
7 changed files with 442 additions and 0 deletions

View File

@ -1,6 +1,7 @@
target
.idea
.gradle
.g
*.iml
build
bin

View File

@ -27106,6 +27106,58 @@ public class DSL {

View File

@ -622,6 +622,8 @@ final class Names {
static final Name N_ST_INTERSECTS = systemName("st_intersects");
static final Name N_ST_ISCLOSED = systemName("st_isclosed");
static final Name N_ST_ISEMPTY = systemName("st_isempty");
static final Name N_ST_ISSIMPLE = systemName("st_issimple");
static final Name N_ST_ISVALID = systemName("st_isvalid");
static final Name N_ST_LENGTH = systemName("st_length");
static final Name N_ST_NINTERIORRINGS = systemName("st_ninteriorrings");
static final Name N_ST_NUMGEOMETRIES = systemName("st_numgeometries");

View File

@ -383,6 +383,8 @@ 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;
@ -6895,6 +6897,16 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
}
else if (parseProFunctionNameIf("ST_ISSIMPLE")) {
}
else if (parseProFunctionNameIf("ST_ISVALID")) {
}
else if (parseProFunctionNameIf("ST_OVERLAPS", "SDO_OVERLAPS")) {
@ -8748,6 +8760,10 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {

View File

@ -9506,6 +9506,44 @@ public final class QOM {

View File

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

View File

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