public class IngestionMapping extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IngestionMapping.IngestionMappingKind |
| Constructor and Description |
|---|
IngestionMapping()
Creates a default ingestion mapping with null kind and empty mapping reference.
|
IngestionMapping(ColumnMapping[] columnMappings,
IngestionMapping.IngestionMappingKind ingestionMappingKind)
Please use setIngestionMappingReference for production as passing the mapping every time is wasteful
|
IngestionMapping(IngestionMapping other)
Copy constructor for IngestionMapping.
|
IngestionMapping(String ingestionMappingReference,
IngestionMapping.IngestionMappingKind ingestionMappingKind)
Creates an ingestion mapping with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnMapping[] |
getColumnMappings() |
IngestionMapping.IngestionMappingKind |
getIngestionMappingKind() |
String |
getIngestionMappingReference() |
void |
setIngestionMapping(ColumnMapping[] columnMappings,
IngestionMapping.IngestionMappingKind ingestionMappingKind)
Please use setIngestionMappingReference for production as passing the mapping every time is wasteful
Sets the ingestion mapping parameters
|
void |
setIngestionMappingReference(String ingestionMappingReference,
IngestionMapping.IngestionMappingKind ingestionMappingKind)
Sets the ingestion mapping reference parameters
|
public IngestionMapping()
public IngestionMapping(String ingestionMappingReference, IngestionMapping.IngestionMappingKind ingestionMappingKind)
ingestionMappingReference - String: the name of the pre-defined ingestion mapping.ingestionMappingKind - IngestionMappingKind: the format of the source data to map from.public IngestionMapping(ColumnMapping[] columnMappings, IngestionMapping.IngestionMappingKind ingestionMappingKind)
columnMappings - Array of columnMappings of the same kind.ingestionMappingKind - IngestionMappingKind: the format of the source data to map from.public IngestionMapping(IngestionMapping other)
other - the instance to copy frompublic void setIngestionMappingReference(String ingestionMappingReference, IngestionMapping.IngestionMappingKind ingestionMappingKind)
ingestionMappingReference - String: the name of the pre-defined ingestion mapping.ingestionMappingKind - IngestionMappingKind: the format of the source data to map from.public void setIngestionMapping(ColumnMapping[] columnMappings, IngestionMapping.IngestionMappingKind ingestionMappingKind)
columnMappings - Array of columnMappings of the same kind.ingestionMappingKind - IngestionMappingKind: the format of the source data to map from.public IngestionMapping.IngestionMappingKind getIngestionMappingKind()
public String getIngestionMappingReference()
public ColumnMapping[] getColumnMappings()
Copyright © 2024. All rights reserved.