Package org.deidentifier.arx.io
Klasse ImportColumn
java.lang.Object
org.deidentifier.arx.io.ImportColumn
- Bekannte direkte Unterklassen:
ImportColumnIndexed,ImportColumnJDBC
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.-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungImportColumn(String aliasName, DataType<?> dataType) Creates a new instance of this object with the given parameters.ImportColumn(String aliasName, DataType<?> dataType, boolean cleansing) Creates a new instance of this object with the given parameters. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGets the alias name.DataType<?> Gets the data type.booleanShould non-matching values be replaced with NULL values.voidsetAliasName(String aliasName) Sets the alias name.voidsetCleansing(boolean cleansing) Should we perform cleansingvoidsetDataType(DataType<?> dataType) Sets the data type.
-
Konstruktordetails
-
ImportColumn
Creates a new instance of this object with the given parameters.- Parameter:
aliasName-aliasNamedataType-dataType
-
ImportColumn
Creates a new instance of this object with the given parameters.- Parameter:
aliasName-aliasNamedataType-dataTypecleansing- the cleansing
-
-
Methodendetails
-
getAliasName
Gets the alias name.- Gibt zurück:
aliasName
-
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
Sets the alias name.- Parameter:
aliasName-aliasName
-
setCleansing
public void setCleansing(boolean cleansing) Should we perform cleansing- Parameter:
cleansing-
-
setDataType
Sets the data type.- Parameter:
dataType-dataType
-