[jOOQ/jOOQ#13143] DataType.isSpatial() must be available in OSS edition
This commit is contained in:
parent
ed778cf7b3
commit
bf48e7224c
@ -1075,13 +1075,8 @@ public interface DataType<T> extends Named {
|
||||
*/
|
||||
boolean isXML();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Whether this data type is a spatial type.
|
||||
*/
|
||||
boolean isSpatial();
|
||||
}
|
||||
|
||||
@ -757,15 +757,11 @@ implements
|
||||
return tType0() == XML.class;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public final boolean isSpatial() {
|
||||
Class<?> tType = tType0();
|
||||
return tType == Geometry.class || tType == Geography.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void accept(Context<?> ctx) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user