Klasse ImportColumn

java.lang.Object
org.deidentifier.arx.io.ImportColumn
Bekannte direkte Unterklassen:
ImportColumnIndexed, ImportColumnJDBC

public abstract class ImportColumn extends Object
Represents a single data column This represents a single column that will be imported from. Each column at least consists of an aliasName and dataType.
  • Konstruktordetails

    • ImportColumn

      public ImportColumn(String aliasName, DataType<?> dataType)
      Creates a new instance of this object with the given parameters.
      Parameter:
      aliasName - aliasName
      dataType - dataType
    • ImportColumn

      public ImportColumn(String aliasName, DataType<?> dataType, boolean cleansing)
      Creates a new instance of this object with the given parameters.
      Parameter:
      aliasName - aliasName
      dataType - dataType
      cleansing - the cleansing
  • Methodendetails

    • getAliasName

      public String getAliasName()
      Gets the alias name.
      Gibt zurück:
      aliasName
    • getDataType

      public DataType<?> getDataType()
      Gets the data type.
      Gibt zurück:
      dataType
    • isCleansing

      public boolean isCleansing()
      Should non-matching values be replaced with NULL values.
      Gibt zurück:
      true, if cleansing is enabled
    • setAliasName

      public void setAliasName(String aliasName)
      Sets the alias name.
      Parameter:
      aliasName - aliasName
    • setCleansing

      public void setCleansing(boolean cleansing)
      Should we perform cleansing
      Parameter:
      cleansing -
    • setDataType

      public void setDataType(DataType<?> dataType)
      Sets the data type.
      Parameter:
      dataType - dataType