Class SqlScriptContent

java.lang.Object
com.azure.analytics.synapse.artifacts.models.SqlScriptContent

public final class SqlScriptContent extends Object
The content of the SQL script.
  • Constructor Details

    • SqlScriptContent

      public SqlScriptContent()
  • Method Details

    • getQuery

      public String getQuery()
      Get the query property: SQL query to execute.
      Returns:
      the query value.
    • setQuery

      public SqlScriptContent setQuery(String query)
      Set the query property: SQL query to execute.
      Parameters:
      query - the query value to set.
      Returns:
      the SqlScriptContent object itself.
    • getCurrentConnection

      public SqlConnection getCurrentConnection()
      Get the currentConnection property: The connection used to execute the SQL script.
      Returns:
      the currentConnection value.
    • setCurrentConnection

      public SqlScriptContent setCurrentConnection(SqlConnection currentConnection)
      Set the currentConnection property: The connection used to execute the SQL script.
      Parameters:
      currentConnection - the currentConnection value to set.
      Returns:
      the SqlScriptContent object itself.
    • getResultLimit

      public Integer getResultLimit()
      Get the resultLimit property: Limit of results, '-1' for no limit.
      Returns:
      the resultLimit value.
    • setResultLimit

      public SqlScriptContent setResultLimit(Integer resultLimit)
      Set the resultLimit property: Limit of results, '-1' for no limit.
      Parameters:
      resultLimit - the resultLimit value to set.
      Returns:
      the SqlScriptContent object itself.
    • getMetadata

      public SqlScriptMetadata getMetadata()
      Get the metadata property: The metadata of the SQL script.
      Returns:
      the metadata value.
    • setMetadata

      public SqlScriptContent setMetadata(SqlScriptMetadata metadata)
      Set the metadata property: The metadata of the SQL script.
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the SqlScriptContent object itself.
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Get the additionalProperties property: The content of the SQL script.
      Returns:
      the additionalProperties value.
    • setAdditionalProperties

      public SqlScriptContent setAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: The content of the SQL script.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the SqlScriptContent object itself.