public static class InsertValidationResponse.InsertError extends Object
| Constructor and Description |
|---|
InsertError(Object row,
long rowIndex) |
| Modifier and Type | Method and Description |
|---|---|
SFException |
getException()
Get the exception
|
List<String> |
getExtraColNames()
Get the list of extra column names in the input row compared with the table schema
|
String |
getMessage()
Get the exception message
|
List<String> |
getMissingNotNullColNames()
Get the list of missing non-nullable column names in the input row compared with the table
schema
|
Object |
getRowContent()
Get the row content
|
long |
getRowIndex()
Get the rowIndex.
|
void |
setException(SFException exception)
Set the insert exception
|
void |
setExtraColNames(List<String> extraColNames)
Set the extra column names in the input row compared with the table schema
|
void |
setMissingNotNullColNames(List<String> missingNotNullColNames)
Set the missing non-nullable column names in the input row compared with the table schema
|
void |
setRowIndex(long rowIndex)
Set the row index
|
public InsertError(Object row, long rowIndex)
public Object getRowContent()
public String getMessage()
public void setException(SFException exception)
exception - exception encountered during the insertpublic SFException getException()
public void setRowIndex(long rowIndex)
rowIndex - the corresponding row index in the original input row listpublic long getRowIndex()
SnowflakeStreamingIngestChannel.insertRows(Iterable, String))public void setExtraColNames(List<String> extraColNames)
public List<String> getExtraColNames()
public void setMissingNotNullColNames(List<String> missingNotNullColNames)
Copyright © 2023. All rights reserved.