Package ch.so.agi.gretl.internal.duckdb
Record Class GeometryOverrideSpec
java.lang.Object
java.lang.Record
ch.so.agi.gretl.internal.duckdb.GeometryOverrideSpec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.column()Returns the value of thecolumnrecord component.encoding()Returns the value of theencodingrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanforce2d()Returns the value of theforce2drecord component.final inthashCode()Returns a hash code value for this object.booleaninclude()Returns the value of theincluderecord component.srid()Returns the value of thesridrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
GeometryOverrideSpec
public GeometryOverrideSpec(String column, String alias, Integer srid, String type, String encoding, boolean force2d, boolean include) Creates an instance of aGeometryOverrideSpecrecord class.- Parameters:
column- the value for thecolumnrecord componentalias- the value for thealiasrecord componentsrid- the value for thesridrecord componenttype- the value for thetyperecord componentencoding- the value for theencodingrecord componentforce2d- the value for theforce2drecord componentinclude- the value for theincluderecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
column
Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-
alias
Returns the value of thealiasrecord component.- Returns:
- the value of the
aliasrecord component
-
srid
Returns the value of thesridrecord component.- Returns:
- the value of the
sridrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
encoding
Returns the value of theencodingrecord component.- Returns:
- the value of the
encodingrecord component
-
force2d
public boolean force2d()Returns the value of theforce2drecord component.- Returns:
- the value of the
force2drecord component
-
include
public boolean include()Returns the value of theincluderecord component.- Returns:
- the value of the
includerecord component
-