code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
@Override public NativeSQLStatement createNativeGeomUnionStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, DB2GSE.ST_union(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) from GeomTest t where DB2GSE.ST_SRID(t.geom) = 4326", geom.toText() ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeGeomUnionStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeTransformStatement(int epsg) { return createNativeSQLStatement( "select t.id, DB2GSE.ST_transform(t.geom," + epsg + ") from GeomTest t where DB2GSE.ST_SRID(t.geom) = 4326" ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeTransformStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeHavingSRIDStatement(int srid) { return createNativeSQLStatement( "select t.id, DB2GSE.st_srid(t.geom) from GeomTest t where DB2GSE.ST_SRID(t.geom) = " + srid ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeHavingSRIDStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeAsTextStatement() { return createNativeSQLStatement( "select id, DB2GSE.st_astext(geom) from geomtest" ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeAsTextStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeSridStatement() { return createNativeSQLStatement( "select id, DB2GSE.ST_SRID(geom) from geomtest" ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeSridStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeIsSimpleStatement() { return createNativeSQLStatement( "select id, DB2GSE.ST_issimple(geom) from geomtest" ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeIsSimpleStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeIsEmptyStatement() { return createNativeSQLStatement( "select id, DB2GSE.ST_isempty(geom) from geomtest where db2gse.ST_IsEmpty(geom) = 1" ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeIsEmptyStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeIsNotEmptyStatement() { // return 'not ST_IsEmpty', 'not' is not supported by DB2 return createNativeSQLStatement( "select id, case when DB2GSE.ST_isempty(geom) = 0 then 1 else 0 end from geomtest where db2gse.ST_IsEmpty(geom) = 0" ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeIsNotEmptyStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeBoundaryStatement() { return createNativeSQLStatement( "select id, DB2GSE.ST_boundary(geom) from geomtest" ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeBoundaryStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeEnvelopeStatement() { return createNativeSQLStatement( "select id, DB2GSE.ST_envelope(geom) from geomtest" ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeEnvelopeStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeAsBinaryStatement() { return createNativeSQLStatement( "select id, DB2GSE.ST_asbinary(geom) from geomtest" ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeAsBinaryStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeGeometryTypeStatement() { return createNativeSQLStatement( "select id, DB2GSE.ST_GeometryType(geom) from geomtest" ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeGeometryTypeStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeWithinStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, DB2GSE.ST_within(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) from GeomTest t where DB2GSE.ST_within(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) = 1 and db2gse.st_srid(t.geom) = 43...
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeWithinStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeEqualsStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, DB2GSE.ST_equals(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) from GeomTest t where DB2GSE.ST_equals(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) = 1 and db2gse.st_srid(t.geom) = 43...
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeEqualsStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeCrossesStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, DB2GSE.ST_crosses(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) from GeomTest t where DB2GSE.ST_crosses(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) = 1 and db2gse.st_srid(t.geom) =...
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeCrossesStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeContainsStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, DB2GSE.ST_contains(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) from GeomTest t where DB2GSE.ST_contains(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) = 1 and db2gse.st_srid(t.geom...
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeContainsStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeDisjointStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, DB2GSE.ST_disjoint(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) from GeomTest t where DB2GSE.ST_disjoint(t.geom, DB2GSE.ST_GeomFromText(?, 4326)) = 1 and db2gse.st_srid(t.geom...
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
createNativeDisjointStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
@Override protected Geometry decode(Object o) { org.geolatte.geom.Geometry<?> geometry = desc.toGeometry( o ); return geometry == null ? null : JTS.to( geometry ); }
Returns the expected extent of all testsuite-suite geometries. @return map of identifier, extent @throws SQLException
decode
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2ExpectationsFactory.java
Apache-2.0
public TestData createTestData(TestDataPurpose purpose) { switch ( purpose ) { case SpatialFunctionsData: return TestData.fromFile( "db2/test-db2nozm-only-polygon.xml" ); default: return TestData.fromFile( "db2/test-db2nozm-data-set.xml" ); } }
@author David Adler, Adtech Geospatial creation-date: 5/22/2014
createTestData
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2TestSupport.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2TestSupport.java
Apache-2.0
public DB2ExpectationsFactory createExpectationsFactory() { return new DB2ExpectationsFactory(); }
@author David Adler, Adtech Geospatial creation-date: 5/22/2014
createExpectationsFactory
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2TestSupport.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/db2/DB2TestSupport.java
Apache-2.0
@Override public NativeSQLStatement createNativeAsBinaryStatement() { return createNativeSQLStatement( "select id, ST_AsEWKB(geom) from GEOMTEST" ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeAsBinaryStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeAsTextStatement() { return createNativeSQLStatement( "select id, ST_AsText(geom) from GEOMTEST" ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeAsTextStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeBoundaryStatement() { return createNativeSQLStatement( "select id, ST_Boundary(geom) from GEOMTEST" ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeBoundaryStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeBufferStatement(Double distance) { return createNativeSQLStatement( "select t.id, ST_Buffer(t.geom,?) from GEOMTEST t where ST_SRID(t.geom) = 4326", new Object[] { distance } ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeBufferStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeContainsStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_Contains(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_Contains(t.geom, ST_GeomFromText(?, 4326)) = 1 and ST_SRID(t.geom) = 4326", geom.toText() ); ...
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeContainsStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeConvexHullStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_ConvexHull(ST_Union(t.geom, ST_GeomFromText(?, 4326))) from GeomTest t where ST_SRID(t.geom) = 4326", geom.toText() ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeConvexHullStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeCrossesStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_Crosses(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_Crosses(t.geom, ST_GeomFromText(?, 4326)) = 1 and ST_SRID(t.geom) = 4326", geom.toText() ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeCrossesStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeDifferenceStatement(Geometry geom) { throw new UnsupportedOperationException( "Method ST_Difference() is not implemented in the current version of GeoDB." ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeDifferenceStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeDimensionSQL() { return createNativeSQLStatement( "select id, ST_Dimension(geom) from GEOMTEST" ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeDimensionSQL
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeDisjointStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_Disjoint(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_Disjoint(t.geom, ST_GeomFromText(?, 4326)) = 1 and ST_SRID(t.geom) = 4326", geom.toText() ); ...
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeDisjointStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeTransformStatement(int epsg) { throw new UnsupportedOperationException(); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeTransformStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeHavingSRIDStatement(int srid) { return createNativeSQLStatement( "select t.id, (ST_SRID(t.geom) = " + srid + ") from GeomTest t where ST_SRID(t.geom) = " + srid ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeHavingSRIDStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeDistanceStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, st_distance(t.geom, ST_GeomFromText(?, 4326)) from GeomTest t where ST_SRID(t.geom) = 4326", geom.toText() ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeDistanceStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeEnvelopeStatement() { return createNativeSQLStatement( "select id, ST_Envelope(geom) from GEOMTEST" ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeEnvelopeStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeEqualsStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_Equals(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_Equals(t.geom, ST_GeomFromText(?, 4326)) = 1 and ST_SRID(t.geom) = 4326", geom.toText() ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeEqualsStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeFilterStatement(Geometry geom) { throw new UnsupportedOperationException( "Filter is not implemented in the current version of GeoDB." ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeFilterStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeGeomUnionStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_Union(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_SRID(t.geom) = 4326", geom.toText() ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeGeomUnionStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeGeometryTypeStatement() { return createNativeSQLStatement( "select id, GeometryType(geom) from GEOMTEST" ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeGeometryTypeStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeIntersectionStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_Intersection(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_SRID(t.geom) = 4326", geom.toText() ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeIntersectionStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeIntersectsStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_Intersects(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_Intersects(t.geom, ST_GeomFromText(?, 4326)) = 1 and ST_SRID(t.geom) = 4326", geom.toText() ...
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeIntersectsStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeIsEmptyStatement() { return createNativeSQLStatement( "select id, ST_IsEmpty(geom) from GEOMTEST" ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeIsEmptyStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeIsNotEmptyStatement() { return createNativeSQLStatement( "select id, not ST_IsEmpty(geom) from geomtest" ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeIsNotEmptyStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeIsSimpleStatement() { return createNativeSQLStatement( "select id, ST_IsSimple(geom) from GEOMTEST" ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeIsSimpleStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeOverlapsStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_Overlaps(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_Overlaps(t.geom, ST_GeomFromText(?, 4326)) = 1 and ST_SRID(t.geom) = 4326", geom.toText() ); ...
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeOverlapsStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeRelateStatement( Geometry geom, String matrix) { String sql = "select t.id, ST_Relate(t.geom, ST_GeomFromText(?, 4326), '" + matrix + "' ) from GEOMTEST t where ST_Relate(t.geom, ST_GeomFromText(?, 4326), '" + matrix + "') = 'true' and ST_SRID(t.geom) = 4326"; ...
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeRelateStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeDwithinStatement( Point geom, double distance) { String sql = "select t.id, ST_DWithin(t.geom, ST_GeomFromText(?, 4326), " + distance + " ) from GEOMTEST t where st_dwithin(t.geom, ST_GeomFromText(?, 4326), " + distance + ") = 'true' and ST_SRID(t.geo...
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeDwithinStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeSridStatement() { return createNativeSQLStatement( "select id, ST_SRID(geom) from GEOMTEST" ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeSridStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeSymDifferenceStatement( Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_SymDifference(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_SRID(t.geom) = 4326", geom.toText() ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeSymDifferenceStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeTouchesStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_Touches(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_Touches(t.geom, ST_GeomFromText(?, 4326)) = 1 and ST_SRID(t.geom) = 4326", geom.toText() ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeTouchesStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public NativeSQLStatement createNativeWithinStatement( Geometry testPolygon) { return createNativeSQLStatementAllWKTParams( "select t.id, ST_Within(t.geom, ST_GeomFromText(?, 4326)) from GEOMTEST t where ST_Within(t.geom, ST_GeomFromText(?, 4326)) = 1 and ST_SRID(t.geom) = 4326", testPolygon.toT...
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
createNativeWithinStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override protected Geometry decode(Object o) { return JTS.to( H2GISWkb.from( o ) ); }
A Factory class that generates expected {@link NativeSQLStatement}s for GeoDB. @Author Jan Boonen, Geodan IT b.v.
decode
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GISExpectationsFactory.java
Apache-2.0
@Override public TestData createTestData(TestDataPurpose purpose) { return TestData.fromFile( "h2gis/test-data-set.xml" ); }
@author Karel Maesen, Geovise BVBA creation-date: Oct 2, 2010
createTestData
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
Apache-2.0
public AbstractExpectationsFactory createExpectationsFactory() { return new H2GISExpectationsFactory(); }
@author Karel Maesen, Geovise BVBA creation-date: Oct 2, 2010
createExpectationsFactory
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
Apache-2.0
@Override public NativeSQLTemplates templates() { return new NativeSQLTemplates(); }
@author Karel Maesen, Geovise BVBA creation-date: Oct 2, 2010
templates
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
Apache-2.0
@Override public PredicateRegexes predicateRegexes() { return new PredicateRegexes( "st_geomfromtext" ); }
@author Karel Maesen, Geovise BVBA creation-date: Oct 2, 2010
predicateRegexes
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
Apache-2.0
@Override public Map<CommonSpatialFunction, String> hqlOverrides() { return super.hqlOverrides(); }
@author Karel Maesen, Geovise BVBA creation-date: Oct 2, 2010
hqlOverrides
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
Apache-2.0
@Override public GeomCodec codec() { return in -> (Geometry<?>) in; }
@author Karel Maesen, Geovise BVBA creation-date: Oct 2, 2010
codec
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2gis/H2GisTestSupport.java
Apache-2.0
public Map<Integer, Geometry> getAlphaShape(double radius) throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected alpha shapes of all testsuite-suite geometries. @return map of identifier, alpha shape @throws SQLException
getAlphaShape
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeAlphaShapeStatement(double radius) { return createNativeSQLStatement( "select t.id, t.geom.ST_AlphaShape(?).ST_AsEWKB() from GeomTest t where t.geom.ST_GeometryType() in ('ST_Point', 'ST_MultiPoint')", new Object[] { radius } ); }
Returns the expected alpha shapes of all testsuite-suite geometries. @return map of identifier, alpha shape @throws SQLException
createNativeAlphaShapeStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Double> getArea() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected area of all testsuite-suite geometries. @return map of identifier, area @throws SQLException
getArea
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeAreaStatement() { return createNativeSQLStatement( "select t.id, t.geom.ST_Area() from GeomTest t where t.geom.ST_GeometryType() in ('ST_Polygon', 'ST_MultiPolygon')" ); }
Returns the expected area of all testsuite-suite geometries. @return map of identifier, area @throws SQLException
createNativeAreaStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, byte[]> getAsEWKB() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected EWKB representation of all testsuite-suite geometries. @return map of identifier, EWKB @throws SQLException
getAsEWKB
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeAsEWKBStatement() { return createNativeSQLStatement( "select t.id, t.geom.ST_AsEWKB() from GeomTest t" ); }
Returns the expected EWKB representation of all testsuite-suite geometries. @return map of identifier, EWKB @throws SQLException
createNativeAsEWKBStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, String> getAsEWKT() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected EWKT representation of all testsuite-suite geometries. @return map of identifier, EWKT @throws SQLException
getAsEWKT
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeAsEWKTStatement() { return createNativeSQLStatement( "select t.id, t.geom.ST_AsEWKT() from GeomTest t" ); }
Returns the expected EWKT representation of all testsuite-suite geometries. @return map of identifier, EWKT @throws SQLException
createNativeAsEWKTStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, String> getAsGeoJSON() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected GeoJSON representation of all testsuite-suite geometries. @return map of identifier, GeoJSON @throws SQLException
getAsGeoJSON
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeAsGeoJSONStatement() { return createNativeSQLStatement( "select t.id, t.geom.ST_AsGeoJSON() from GeomTest t" ); }
Returns the expected GeoJSON representation of all testsuite-suite geometries. @return map of identifier, GeoJSON @throws SQLException
createNativeAsGeoJSONStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, String> getAsSVG() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected SVG representation of all testsuite-suite geometries. @return map of identifier, SVG @throws SQLException
getAsSVG
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeAsSVGStatement() { return createNativeSQLStatement( "select t.id, t.geom.ST_AsSVG() from GeomTest t" ); }
Returns the expected SVG representation of all testsuite-suite geometries. @return map of identifier, SVG @throws SQLException
createNativeAsSVGStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, String> getAsSVGAggr() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected aggregated SVG representation of all testsuite-suite geometries. @return map of count, SVG @throws SQLException
getAsSVGAggr
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeAsSVGAggrStatement() { return createNativeSQLStatement( "select cast(count(*) as int), ST_AsSVGAggr(t.geom) from GeomTest t" ); }
Returns the expected aggregated SVG representation of all testsuite-suite geometries. @return map of count, SVG @throws SQLException
createNativeAsSVGAggrStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, byte[]> getAsWKB() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected WKB representation of all testsuite-suite geometries. @return map of identifier, WKB @throws SQLException
getAsWKB
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeAsWKBStatement() { return createNativeSQLStatement( "select t.id, t.geom.ST_AsWKB() from GeomTest t" ); }
Returns the expected WKB representation of all testsuite-suite geometries. @return map of identifier, WKB @throws SQLException
createNativeAsWKBStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, String> getAsWKT() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected WKT representation of all testsuite-suite geometries. @return map of identifier, WKT @throws SQLException
getAsWKT
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeAsWKTStatement() { return createNativeSQLStatement( "select t.id, t.geom.ST_AsWKT() from GeomTest t" ); }
Returns the expected WKT representation of all testsuite-suite geometries. @return map of identifier, WKT @throws SQLException
createNativeAsWKTStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Geometry> getCentroid() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected centroid of all testsuite-suite geometries. @return map of id, centroid @throws SQLException
getCentroid
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeCentroidStatement() { return createNativeSQLStatement( "select id, t.geom.ST_Centroid() from GeomTest t where t.geom.ST_GeometryType() = 'ST_Polygon'" ); }
Returns the expected centroid of all testsuite-suite geometries. @return map of id, centroid @throws SQLException
createNativeCentroidStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Geometry> getConvexHullAggr() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected aggregated convex hull representation of all testsuite-suite geometries. @return map of count, convex hull @throws SQLException
getConvexHullAggr
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeConvexHullAggrStatement() { return createNativeSQLStatement( "select cast(count(*) as int), ST_ConvexHullAggr(t.geom) from GeomTest t" ); }
Returns the expected aggregated convex hull representation of all testsuite-suite geometries. @return map of count, convex hull @throws SQLException
createNativeConvexHullAggrStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Integer> getCoordDim() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected number of coordinate dimensions of all testsuite-suite geometries. @return map of identifier, coordinate dimension @throws SQLException
getCoordDim
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeCoordDimStatement() { return createNativeSQLStatement( "select t.id, t.geom.ST_CoordDim() from GeomTest t" ); }
Returns the expected number of coordinate dimensions of all testsuite-suite geometries. @return map of identifier, coordinate dimension @throws SQLException
createNativeCoordDimStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Boolean> getCoveredBy(Geometry geom) throws SQLException { throw new UnsupportedOperationException(); }
Returns the testsuite-suite geometries that are covered by the given geometry. @return map of identifier, whether the geometry is covered @throws SQLException
getCoveredBy
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeCoveredByStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, t.geom.ST_CoveredBy(ST_GeomFromText(?, " + getTestSrid() + ")) from GeomTest t where t.geom.ST_CoveredBy(ST_GeomFromText(?, " + getTestSrid() + ")) = 1 and t.geom.ST_SRID() =...
Returns the testsuite-suite geometries that are covered by the given geometry. @return map of identifier, whether the geometry is covered @throws SQLException
createNativeCoveredByStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Boolean> getCovers(Geometry geom) throws SQLException { throw new UnsupportedOperationException(); }
Returns the testsuite-suite geometries that are cover the given geometry. @return map of identifier, whether the geometry covers the given geometry @throws SQLException
getCovers
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeCoversStatement(Geometry geom) { return createNativeSQLStatementAllWKTParams( "select t.id, t.geom.ST_Covers(ST_GeomFromText(?, " + getTestSrid() + ")) from GeomTest t where t.geom.ST_Covers(ST_GeomFromText(?, " + getTestSrid() + ")) = 1 and t.geom.ST_SRID() = " + getT...
Returns the testsuite-suite geometries that are cover the given geometry. @return map of identifier, whether the geometry covers the given geometry @throws SQLException
createNativeCoversStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Geometry> getEndPoint() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected endpoint of all testsuite-suite geometries. @return map of id, endpoint @throws SQLException
getEndPoint
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeEndPointStatement() { return createNativeSQLStatement( "select id, t.geom.ST_EndPoint() from GeomTest t where t.geom.ST_GeometryType() = 'ST_LineString'" ); }
Returns the expected endpoint of all testsuite-suite geometries. @return map of id, endpoint @throws SQLException
createNativeEndPointStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Geometry> getEnvelopeAggr() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected aggregated bounding rectangle of all testsuite-suite geometries. @return map of count, bounding rectangle @throws SQLException
getEnvelopeAggr
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeEnvelopeAggrStatement() { return createNativeSQLStatement( "select cast(count(*) as int), ST_EnvelopeAggr(t.geom) from GeomTest t" ); }
Returns the expected aggregated bounding rectangle of all testsuite-suite geometries. @return map of count, bounding rectangle @throws SQLException
createNativeEnvelopeAggrStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Geometry> getExteriorRing() throws SQLException { throw new UnsupportedOperationException(); }
Returns the expected exterior ring of all testsuite-suite geometries. @return map of id, exterior ring @throws SQLException
getExteriorRing
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeExteriorRingStatement() { return createNativeSQLStatement( "select id, t.geom.ST_ExteriorRing() from GeomTest t where t.geom.ST_GeometryType() = 'ST_Polygon'" ); }
Returns the expected exterior ring of all testsuite-suite geometries. @return map of id, exterior ring @throws SQLException
createNativeExteriorRingStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Geometry> getGeomFromEWKB(byte[] ewkb) throws SQLException { throw new UnsupportedOperationException(); }
Returns the geometry from an EWKB representation. @return map of id, geometry @throws SQLException
getGeomFromEWKB
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeGeomFromEWKBStatement(byte[] ewkb) { return createNativeSQLStatement( "select 1, ST_GeomFromEWKB(?) from GeomTest t", new Object[] { ewkb } ); }
Returns the geometry from an EWKB representation. @return map of id, geometry @throws SQLException
createNativeGeomFromEWKBStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Geometry> getGeomFromEWKT(String ewkt) throws SQLException { throw new UnsupportedOperationException(); }
Returns the geometry from an EWKT representation. @return map of id, geometry @throws SQLException
getGeomFromEWKT
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeGeomFromEWKTStatement(String ewkt) { return createNativeSQLStatement( "select 1, ST_GeomFromEWKT(?) from GeomTest t", new Object[] { ewkt } ); }
Returns the geometry from an EWKT representation. @return map of id, geometry @throws SQLException
createNativeGeomFromEWKTStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Geometry> getGeomFromText(String text) throws SQLException { throw new UnsupportedOperationException(); }
Returns the geometry from a text representation. @return map of id, geometry @throws SQLException
getGeomFromText
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeGeomFromTextStatement(String text) { return createNativeSQLStatement( "select 1, ST_GeomFromText(?) from GeomTest t", new Object[] { text } ); }
Returns the geometry from a text representation. @return map of id, geometry @throws SQLException
createNativeGeomFromTextStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Geometry> getGeomFromWKB(byte[] wkb) throws SQLException { throw new UnsupportedOperationException(); }
Returns the geometry from a WKB representation. @return map of id, geometry @throws SQLException
getGeomFromWKB
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
private NativeSQLStatement createNativeGeomFromWKBStatement(byte[] wkb) { return createNativeSQLStatement( "select 1, ST_GeomFromWKB(?) from GeomTest t", new Object[] { wkb } ); }
Returns the geometry from a WKB representation. @return map of id, geometry @throws SQLException
createNativeGeomFromWKBStatement
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0
public Map<Integer, Geometry> getGeomFromWKT(String wkt) throws SQLException { throw new UnsupportedOperationException(); }
Returns the geometry from a WKT representation. @return map of id, geometry @throws SQLException
getGeomFromWKT
java
hibernate/hibernate-orm
hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/hana/HANAExpectationsFactory.java
Apache-2.0