com.univocity.api.config.builders.CopyToSingleField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of univocity-api Show documentation
Show all versions of univocity-api Show documentation
uniVocity Data Integration's Public API
The newest version!
/*******************************************************************************
* Copyright (c) 2014 uniVocity Software Pty Ltd. All rights reserved.
* This file is subject to the terms and conditions defined in file
* 'LICENSE.txt', which is part of this source code package.
******************************************************************************/
package com.univocity.api.config.builders;
import com.univocity.api.engine.*;
/**
* The CopyToSingleField
configuration is obtained from a {@link FieldMappingSetup} using {@link FieldMappingSetup#copy(String)}.
* It is used to define what field of a destination entity should receive values extracted from a field of the source entity.
*
* @see FieldMappingSetup
* @see FunctionCall
*
* @author uniVocity Software Pty Ltd - [email protected]
*
*/
public interface CopyToSingleField {
/**
* Defines what what field of a destination entity should receive values extracted from a field of the source entity.
*
* @param destinationField the field of the destination entity
* @return the next (optional) step of a field mapping configuration: defining what functions should be executed
* to transform input values before copying them to the destination field.
*/
public CopyTransform to(String destinationField);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy