Enum InfoStatements.GeometryTypeEncoding
java.lang.Object
java.lang.Enum<InfoStatements.GeometryTypeEncoding>
org.apache.sis.internal.sql.feature.InfoStatements.GeometryTypeEncoding
- All Implemented Interfaces:
Serializable,Comparable<InfoStatements.GeometryTypeEncoding>
- Enclosing class:
InfoStatements
protected static enum InfoStatements.GeometryTypeEncoding
extends Enum<InfoStatements.GeometryTypeEncoding>
Specifies how the geometry type is encoded in the
"GEOMETRY_TYPE" column.
The OGC standard defines numeric values, but PostGIS uses textual values.- See Also:
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static InfoStatements.GeometryTypeEncoding[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NUMERIC
"GEOMETRY_TYPE"column is expected to contain an integer value. This is the encoding used in OGC standard. -
TEXTUAL
"GEOMETRY_TYPE"column is expected to contain a textual value. This is the encoding used by PostGIS, but using a different column name ("TYPE"instead of"GEOMETRY_TYPE") for avoiding confusion.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-