Class SqlConnection


  • public final class SqlConnection
    extends Object
    The connection used to execute the SQL script.
    • Constructor Detail

      • SqlConnection

        public SqlConnection()
    • Method Detail

      • getType

        public SqlConnectionType getType()
        Get the type property: The type of the connection.
        Returns:
        the type value.
      • setType

        public SqlConnection setType​(SqlConnectionType type)
        Set the type property: The type of the connection.
        Parameters:
        type - the type value to set.
        Returns:
        the SqlConnection object itself.
      • getName

        public String getName()
        Get the name property: The identifier of the connection.
        Returns:
        the name value.
      • setName

        public SqlConnection setName​(String name)
        Set the name property: The identifier of the connection.
        Parameters:
        name - the name value to set.
        Returns:
        the SqlConnection object itself.
      • getPoolName

        public String getPoolName()
        Get the poolName property: The associated SQL pool name (supported by SQL pool v3).
        Returns:
        the poolName value.
      • setPoolName

        public SqlConnection setPoolName​(String poolName)
        Set the poolName property: The associated SQL pool name (supported by SQL pool v3).
        Parameters:
        poolName - the poolName value to set.
        Returns:
        the SqlConnection object itself.
      • getDatabaseName

        public String getDatabaseName()
        Get the databaseName property: The associated database name (supported by SQL pool v3).
        Returns:
        the databaseName value.
      • setDatabaseName

        public SqlConnection setDatabaseName​(String databaseName)
        Set the databaseName property: The associated database name (supported by SQL pool v3).
        Parameters:
        databaseName - the databaseName value to set.
        Returns:
        the SqlConnection object itself.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Get the additionalProperties property: The connection used to execute the SQL script.
        Returns:
        the additionalProperties value.
      • setAdditionalProperties

        public SqlConnection setAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: The connection used to execute the SQL script.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the SqlConnection object itself.