Class MlSqlJobParameters

All Implemented Interfaces:
Serializable

public class MlSqlJobParameters extends MlJobParameters
Machine Learning Job parameters for SQL-based prediction operations. This class handles SQL query-based prediction operations.
See Also:
  • Method Details

    • sqlQuery

      public String sqlQuery()
      Gets the SQL query.
      Returns:
      SQL query
    • setSqlQuery

      public void setSqlQuery(String sqlQuery)
      Sets the SQL query.
      Parameters:
      sqlQuery - SQL query
    • inputColumn

      public String inputColumn()
      Gets the input column name.
      Returns:
      Input column name
    • setInputColumn

      public void setInputColumn(String inputColumn)
      Sets the input column name.
      Parameters:
      inputColumn - Input column name
    • sqlParams

      public Object[] sqlParams()
      Gets the SQL parameters.
      Returns:
      SQL parameters
    • setSqlParams

      public void setSqlParams(Serializable[] sqlParams)
      Sets the SQL parameters.
      Parameters:
      sqlParams - SQL parameters
    • limit

      public int limit()
      Gets the limit for number of rows to process.
      Returns:
      limit
    • setLimit

      public void setLimit(int limit)
      Sets the limit for number of rows to process.
      Parameters:
      limit - row limit (1-5000)
    • validateOperationSpecific

      protected void validateOperationSpecific()
      Abstract method for operation-specific validation. Subclasses must implement this method to validate their specific fields.
      Specified by:
      validateOperationSpecific in class MlJobParameters
    • builder

      public static MlSqlJobParameters.Builder builder()
      Creates a new builder.
      Returns:
      Builder instance
    • toString

      public String toString()
      Creates and returns a string representation of the parameters.
      Overrides:
      toString in class MlJobParameters
      Returns:
      string representation