Package com.exasol.adapter.document.edml
Class ToDecimalMapping.ToDecimalMappingBuilder<B extends ToDecimalMapping.ToDecimalMappingBuilder<B>>
- java.lang.Object
-
- com.exasol.adapter.document.edml.AbstractToColumnMapping.AbstractToColumnMappingBuilder<C,B>
-
- com.exasol.adapter.document.edml.AbstractToNumberMapping.AbstractToNumberMappingBuilder<ToDecimalMapping,B>
-
- com.exasol.adapter.document.edml.ToDecimalMapping.ToDecimalMappingBuilder<B>
-
- Enclosing class:
- ToDecimalMapping
public abstract static class ToDecimalMapping.ToDecimalMappingBuilder<B extends ToDecimalMapping.ToDecimalMappingBuilder<B>> extends AbstractToNumberMapping.AbstractToNumberMappingBuilder<ToDecimalMapping,B>
Builder forToDecimalMapping.
-
-
Constructor Summary
Constructors Constructor Description ToDecimalMappingBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ToDecimalMappingbuild()Build the product.BdecimalPrecision(int decimalPrecision)Set the precision of the ExasolDECIMALtype.BdecimalScale(int decimalScale)Set the scale of the ExasolDECIMALtype.protected abstract Bself()Gets thethispointer of this builder for fluent programming.StringtoString()-
Methods inherited from class com.exasol.adapter.document.edml.AbstractToNumberMapping.AbstractToNumberMappingBuilder
notNumericBehaviour, overflowBehaviour
-
Methods inherited from class com.exasol.adapter.document.edml.AbstractToColumnMapping.AbstractToColumnMappingBuilder
description, destinationName, key, required
-
-
-
-
Method Detail
-
self
protected abstract B self()
Description copied from class:AbstractToColumnMapping.AbstractToColumnMappingBuilderGets thethispointer of this builder for fluent programming.- Specified by:
selfin classAbstractToNumberMapping.AbstractToNumberMappingBuilder<ToDecimalMapping,B extends ToDecimalMapping.ToDecimalMappingBuilder<B>>- Returns:
thispointer
-
build
public abstract ToDecimalMapping build()
Description copied from class:AbstractToColumnMapping.AbstractToColumnMappingBuilderBuild the product.- Specified by:
buildin classAbstractToNumberMapping.AbstractToNumberMappingBuilder<ToDecimalMapping,B extends ToDecimalMapping.ToDecimalMappingBuilder<B>>- Returns:
- the built product
-
decimalPrecision
public B decimalPrecision(int decimalPrecision)
Set the precision of the ExasolDECIMALtype. Default: 18See the documentation about data types for details.
- Parameters:
decimalPrecision- precision- Returns:
this.
-
decimalScale
public B decimalScale(int decimalScale)
Set the scale of the ExasolDECIMALtype. Default: 0See the documentation about data types for details.
- Parameters:
decimalScale- scale- Returns:
this.
-
toString
public String toString()
- Overrides:
toStringin classAbstractToNumberMapping.AbstractToNumberMappingBuilder<ToDecimalMapping,B extends ToDecimalMapping.ToDecimalMappingBuilder<B>>
-
-