Package com.exasol.adapter.document.edml
Class ToTimestampMapping.ToTimestampMappingBuilder<B extends ToTimestampMapping.ToTimestampMappingBuilder<B>>
- java.lang.Object
-
- com.exasol.adapter.document.edml.AbstractToColumnMapping.AbstractToColumnMappingBuilder<ToTimestampMapping,B>
-
- com.exasol.adapter.document.edml.ToTimestampMapping.ToTimestampMappingBuilder<B>
-
- Enclosing class:
- ToTimestampMapping
public abstract static class ToTimestampMapping.ToTimestampMappingBuilder<B extends ToTimestampMapping.ToTimestampMappingBuilder<B>> extends AbstractToColumnMapping.AbstractToColumnMappingBuilder<ToTimestampMapping,B>
Builder forToTimestampMapping.
-
-
Constructor Summary
Constructors Constructor Description ToTimestampMappingBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ToTimestampMappingbuild()Build the product.BnotTimestampBehavior(ConvertableMappingErrorBehaviour notTimestampBehavior)Define the behaviour to apply in case a value is not a timestamp.BsecondsPrecision(int secondsPrecision)Define the precision for the seconds part of the timestamp.protected abstract Bself()Gets thethispointer of this builder for fluent programming.StringtoString()-
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 classAbstractToColumnMapping.AbstractToColumnMappingBuilder<ToTimestampMapping,B extends ToTimestampMapping.ToTimestampMappingBuilder<B>>- Returns:
thispointer
-
build
public abstract ToTimestampMapping build()
Description copied from class:AbstractToColumnMapping.AbstractToColumnMappingBuilderBuild the product.- Specified by:
buildin classAbstractToColumnMapping.AbstractToColumnMappingBuilder<ToTimestampMapping,B extends ToTimestampMapping.ToTimestampMappingBuilder<B>>- Returns:
- the built product
-
notTimestampBehavior
public B notTimestampBehavior(ConvertableMappingErrorBehaviour notTimestampBehavior)
Define the behaviour to apply in case a value is not a timestamp.- Parameters:
notTimestampBehavior- behaviour to apply in case a value is not a timestamp- Returns:
this.
-
secondsPrecision
public B secondsPrecision(int secondsPrecision)
Define the precision for the seconds part of the timestamp.- Parameters:
secondsPrecision- precision for the seconds part of the timestamp- Returns:
this.
-
toString
public String toString()
- Overrides:
toStringin classAbstractToColumnMapping.AbstractToColumnMappingBuilder<ToTimestampMapping,B extends ToTimestampMapping.ToTimestampMappingBuilder<B>>
-
-