- All Superinterfaces:
GqlStatusObject
- All Known Implementing Classes:
InternalGqlNotification
@Preview(name="GQL-status object")
public sealed interface GqlNotification
extends GqlStatusObject
permits InternalGqlNotification
A notification subtype of the
GqlStatusObject
.- Since:
- 5.28.8
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturnsNotificationClassification
derived from the diagnostic record.position()
Returns a position in the query where this notification points to.Returns notification classification from the diagnostic record as aString
value retrieved directly from the diagnostic record.Returns the raw severity level of the notification as a String value retrieved directly from the diagnostic record.severity()
Returns the severity level of the notification derived from the diagnostic record.Methods inherited from interface org.neo4j.driver.summary.GqlStatusObject
diagnosticRecord, gqlStatus, statusDescription
-
Method Details
-
position
Optional<InputPosition> position()Returns a position in the query where this notification points to.Not all notifications have a unique position to point to and in that case an empty
Optional
is returned.- Returns:
- an
Optional
of theInputPosition
if available or an emptyOptional
otherwise
-
severity
Optional<NotificationSeverity> severity()Returns the severity level of the notification derived from the diagnostic record.- Returns:
- the severity level of the notification
- See Also:
-
rawSeverity
Returns the raw severity level of the notification as a String value retrieved directly from the diagnostic record.- Returns:
- the severity level of the notification
- See Also:
-
classification
Optional<NotificationClassification> classification()ReturnsNotificationClassification
derived from the diagnostic record.- Returns:
- an
Optional
ofNotificationClassification
or an emptyOptional
when the classification is either absent or unrecognised - See Also:
-
rawClassification
Returns notification classification from the diagnostic record as aString
value retrieved directly from the diagnostic record.
-