Package io.github.sebasbaumh.postgis
Klasse PGgeometrybase
java.lang.Object
org.postgresql.util.PGobject
io.github.sebasbaumh.postgis.PGgeometrybase
- Alle implementierten Schnittstellen:
Serializable,Cloneable,org.postgresql.util.PGBinaryObject
- Bekannte direkte Unterklassen:
PGgeography,PGgeometry
@NonNullByDefault({PARAMETER,RETURN_TYPE})
public abstract class PGgeometrybase
extends org.postgresql.util.PGobject
implements org.postgresql.util.PGBinaryObject
A PostgreSQL JDBC
PGobject extension data type modeling a "geo" type. This class serves as a common
superclass for classes such as PGgeometry and PGgeography which model more specific type semantics.- Autor:
- Phillip Ross
- Siehe auch:
-
Feldübersicht
FelderVon Klasse geerbte Felder org.postgresql.util.PGobject
type, value -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedPGgeometrybase(String type) Constructs an instance.protectedPGgeometrybase(String type, Geometry geom) Constructs an instance.protectedPGgeometrybase(String type, String value) Constructs an instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanGets the underlyingGeometry.getValue()inthashCode()intvoidsetByteValue(byte[] value, int offset) voidsetGeometry(Geometry newgeom) Sets the underlyingGeometry.voidvoidtoBytes(byte[] bytes, int offset) toString()Von Klasse geerbte Methoden org.postgresql.util.PGobject
clone, equals, getType, isNull, setType
-
Felddetails
-
geometry
Underlying geometry.
-
-
Konstruktordetails
-
PGgeometrybase
Constructs an instance.- Parameter:
type- type of thisPGobject
-
PGgeometrybase
Constructs an instance.- Parameter:
type- type of thisPGobjectgeom-Geometry
-
PGgeometrybase
Constructs an instance.- Parameter:
type- type of thisPGobjectvalue- geometry- Löst aus:
SQLException
-
-
Methodendetails
-
equals
- Setzt außer Kraft:
equalsin Klasseorg.postgresql.util.PGobject
-
getGeometry
Gets the underlyingGeometry.- Gibt zurück:
Geometryon success, else null
-
getValue
- Setzt außer Kraft:
getValuein Klasseorg.postgresql.util.PGobject
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein Klasseorg.postgresql.util.PGobject
-
lengthInBytes
public int lengthInBytes()- Angegeben von:
lengthInBytesin Schnittstelleorg.postgresql.util.PGBinaryObject
-
setByteValue
- Angegeben von:
setByteValuein Schnittstelleorg.postgresql.util.PGBinaryObject- Löst aus:
SQLException
-
setGeometry
Sets the underlyingGeometry.- Parameter:
newgeom-Geometry(can be null)
-
setValue
- Setzt außer Kraft:
setValuein Klasseorg.postgresql.util.PGobject- Löst aus:
SQLException
-
toBytes
public void toBytes(byte[] bytes, int offset) - Angegeben von:
toBytesin Schnittstelleorg.postgresql.util.PGBinaryObject
-
toString
- Setzt außer Kraft:
toStringin Klasseorg.postgresql.util.PGobject
-