Package io.confluent.flink.plugin
Class StatementWarning
java.lang.Object
io.confluent.flink.plugin.StatementWarning
Represents a non-fatal issue encountered during statement processing.
Warnings indicate potential problems that don't prevent statement execution but may require user attention. The severity level indicates how critical the warning is.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStatementWarning(StatementWarning.Severity severity, OffsetDateTime createdAt, String reason, String message) Creates a new statement warning. -
Method Summary
-
Constructor Details
-
StatementWarning
public StatementWarning(StatementWarning.Severity severity, OffsetDateTime createdAt, String reason, String message) Creates a new statement warning.- Parameters:
severity- the severity levelcreatedAt- the timestamp when the warning was created (RFC3339 format, UTC)reason- a machine-readable short, upper case summary delimited by underscoremessage- a human-readable description of the warning
-
-
Method Details
-
getSeverity
Returns the severity of the warning.- Returns:
- the severity level
-
getCreatedAt
Returns the timestamp when the warning was created.- Returns:
- the creation timestamp in RFC3339 format (UTC)
-
getReason
Returns a machine-readable summary of the warning.- Returns:
- the reason code (upper case, underscore-delimited)
-
getMessage
Returns a human-readable description of the warning.- Returns:
- the warning message
-
equals
-
hashCode
public int hashCode() -
toString
-