Package com.exasol.adapter.document.edml
Class AbstractToColumnMapping
- java.lang.Object
-
- com.exasol.adapter.document.edml.AbstractToColumnMapping
-
- All Implemented Interfaces:
MappingDefinition
- Direct Known Subclasses:
AbstractToNumberMapping,AbstractToVarcharColumnMapping,ToBoolMapping,ToDateMapping,ToTimestampMapping
public abstract class AbstractToColumnMapping extends Object implements MappingDefinition
Abstract base for EDML mappings that map to an Exasol column.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractToColumnMapping.AbstractToColumnMappingBuilder<C extends AbstractToColumnMapping,B extends AbstractToColumnMapping.AbstractToColumnMappingBuilder<C,B>>Builder forAbstractToColumnMapping.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractToColumnMapping(AbstractToColumnMapping.AbstractToColumnMappingBuilder<?,?> builder)Create a newAbstractToColumnMapping.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDescription()Get the description.StringgetDestinationName()Get the destination name.KeyTypegetKey()Get the key type.inthashCode()booleanisRequired()Check if this is a required field.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.exasol.adapter.document.edml.MappingDefinition
accept
-
-
-
-
Constructor Detail
-
AbstractToColumnMapping
protected AbstractToColumnMapping(AbstractToColumnMapping.AbstractToColumnMappingBuilder<?,?> builder)
Create a newAbstractToColumnMapping.- Parameters:
builder- the builder
-
-
Method Detail
-
getDestinationName
public String getDestinationName()
Get the destination name.- Returns:
- destination name
-
getDescription
public String getDescription()
Get the description.- Returns:
- description
-
getKey
public KeyType getKey()
Get the key type.- Returns:
- key type
-
isRequired
public boolean isRequired()
Check if this is a required field.- Returns:
trueif this is a required field
-
-