public class ResolutionResult extends Object
| Modifier and Type | Method and Description |
|---|---|
static ResolutionResult |
ambiguous(AmbiguousColumnSource ambiguousSource)
Creates an ambiguous result with multiple candidates
|
static ResolutionResult |
exactMatch(ColumnSource source)
Creates a successful exact match result
|
AmbiguousColumnSource |
getAmbiguousSource() |
ColumnSource |
getColumnSource() |
String |
getErrorMessage() |
ResolutionStatus |
getStatus() |
boolean |
isAmbiguous() |
boolean |
isExactMatch() |
boolean |
isNotFound() |
boolean |
isResolved() |
static ResolutionResult |
notFound(String columnName)
Creates a not found result
|
static ResolutionResult |
notFound(String columnName,
String errorMessage)
Creates a not found result with custom error message
|
String |
toString() |
public static ResolutionResult exactMatch(ColumnSource source)
public static ResolutionResult ambiguous(AmbiguousColumnSource ambiguousSource)
public static ResolutionResult notFound(String columnName)
public static ResolutionResult notFound(String columnName, String errorMessage)
public ResolutionStatus getStatus()
public ColumnSource getColumnSource()
public AmbiguousColumnSource getAmbiguousSource()
public String getErrorMessage()
public boolean isExactMatch()
public boolean isAmbiguous()
public boolean isNotFound()
public boolean isResolved()