Column Strategies

Column strategy

It defines a specific strategy to apply on a given column and has at least three following keys :

  • name : The name of the strategy.
  • columnName : The name of the column on which the strategy will be applied.
  • inputParameters : If they exist, the list of parameters required to apply the strategy.
{
  "name": "This strategy name",
  "columnName": "Name of the column on which the strategy will apply on",
  "inputParameters": [
    {
      "name": "the name of the parameter which can be enough"
    },
    {
      "name": "the name of the parameter which is not enough here",
      "value": 42.0
    },
    {
      "name": "the name of the parameter which is not enough here",
      "value": true
    }
  ]
}
trait ColumnStrategy extends Serializable {

  def name: String

  def columnName: String

  def inputParameters: List[Parameter]

}