Package com.exasol.adapter.document.edml
Class ToTableMapping.ToTableMappingBuilder
- java.lang.Object
-
- com.exasol.adapter.document.edml.ToTableMapping.ToTableMappingBuilder
-
- Enclosing class:
- ToTableMapping
public static class ToTableMapping.ToTableMappingBuilder extends Object
Builder forToTableMapping.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ToTableMappingbuild()Build a newToTableMapping.ToTableMapping.ToTableMappingBuilderdescription(String description)Set the optional description.ToTableMapping.ToTableMappingBuilderdestinationTable(String destinationTable)ToTableMapping.ToTableMappingBuildermapping(MappingDefinition mapping)Defines the mapping for the columns of the new table.StringtoString()
-
-
-
Method Detail
-
destinationTable
public ToTableMapping.ToTableMappingBuilder destinationTable(String destinationTable)
- Parameters:
destinationTable- destination table- Returns:
this.
-
mapping
public ToTableMapping.ToTableMappingBuilder mapping(MappingDefinition mapping)
Defines the mapping for the columns of the new table. If the document list contains non-objects (like strings) here, you can directly usetoVarcharMappinghere. Otherwise, if the list contains objects, you can define mappings for the nested properties usingfields.- Parameters:
mapping- mapping- Returns:
this.
-
description
public ToTableMapping.ToTableMappingBuilder description(String description)
Set the optional description. Using this property you can provide documentation.- Parameters:
description- description- Returns:
this.
-
build
public ToTableMapping build()
Build a newToTableMapping.- Returns:
- the built
ToTableMapping
-
-