Class Resources.Keys

java.lang.Object
org.apache.sis.util.resources.KeyConstants
org.apache.sis.internal.sql.feature.Resources.Keys
Enclosing class:
Resources

public static final class Resources.Keys extends KeyConstants
Resource keys. This class is used when compiling sources, but no dependencies to Keys should appear in any resulting class files. Since the Java compiler inlines final integer values, using long identifiers will not bloat the constant pools of compiled classes.
Since:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final short
    Cannot fetch a Coordinate Reference System (CRS) for SRID code {0}.
    static final short
    Cannot find an identifier in the database for the reference system “{0}”.
    static final short
    Provider of connections to the database.
    static final short
    Unexpected duplication of column named “{0}”.
    static final short
    Spatial Reference Identifier (SRID) {1} has more than one entry in “{0}” table.
    static final short
    “{0}” is not a valid qualified name for a table.
    (package private) static final Resources.Keys
    The unique instance of key constants handler.
    static final short
    Unexpected error while analyzing the database schema.
    static final short
    Unexpected column “{1}” in the “{0}” foreigner key.
    static final short
    Resource names mapped to SQL queries.
    static final short
    Name “{0}” is already used by another table, view or query.
    static final short
    Table names, optionally with their schemas and catalogs.
    static final short
    The {0} spatial extension is not found.
    static final short
    SRID {1} does not define a Coordinate Reference System.
    static final short
    No entry found in table “{0}” for Spatial Reference Identifier (SRID) {1}.
    static final short
    No mapping from SQL type “{0}” to a Java class.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    For INSTANCE creation only.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INSTANCE

      static final Resources.Keys INSTANCE
      The unique instance of key constants handler.
    • CanNotFetchCRS_1

      public static final short CanNotFetchCRS_1
      Cannot fetch a Coordinate Reference System (CRS) for SRID code {0}.
      See Also:
    • CanNotFindSRID_1

      public static final short CanNotFindSRID_1
      Cannot find an identifier in the database for the reference system “{0}”.
      See Also:
    • DataSource

      public static final short DataSource
      Provider of connections to the database.
      See Also:
    • DuplicatedColumn_1

      public static final short DuplicatedColumn_1
      Unexpected duplication of column named “{0}”.
      See Also:
    • DuplicatedSRID_2

      public static final short DuplicatedSRID_2
      Spatial Reference Identifier (SRID) {1} has more than one entry in “{0}” table.
      See Also:
    • IllegalQualifiedName_1

      public static final short IllegalQualifiedName_1
      “{0}” is not a valid qualified name for a table.
      See Also:
    • InternalError

      public static final short InternalError
      Unexpected error while analyzing the database schema.
      See Also:
    • MalformedForeignerKey_2

      public static final short MalformedForeignerKey_2
      Unexpected column “{1}” in the “{0}” foreigner key.
      See Also:
    • MappedSQLQueries

      public static final short MappedSQLQueries
      Resource names mapped to SQL queries.
      See Also:
    • NameAlreadyUsed_1

      public static final short NameAlreadyUsed_1
      Name “{0}” is already used by another table, view or query.
      See Also:
    • QualifiedTableNames

      public static final short QualifiedTableNames
      Table names, optionally with their schemas and catalogs.
      See Also:
    • SpatialExtensionNotFound_1

      public static final short SpatialExtensionNotFound_1
      The {0} spatial extension is not found.
      See Also:
    • UnexpectedTypeForSRID_2

      public static final short UnexpectedTypeForSRID_2
      SRID {1} does not define a Coordinate Reference System. The object is a `{0}` instead.
      See Also:
    • UnknownSRID_2

      public static final short UnknownSRID_2
      No entry found in table “{0}” for Spatial Reference Identifier (SRID) {1}.
      See Also:
    • UnknownType_1

      public static final short UnknownType_1
      No mapping from SQL type “{0}” to a Java class.
      See Also:
  • Constructor Details

    • Keys

      private Keys()
      For INSTANCE creation only.