java.lang.Object
org.neo4j.driver.internal.summary.InternalGqlStatusObject
org.neo4j.driver.internal.summary.InternalNotification
- All Implemented Interfaces:
GqlStatusObject,Notification
-
Field Summary
Fields inherited from class org.neo4j.driver.internal.summary.InternalGqlStatusObject
NO_DATA, NO_DATA_UNKNOWN, OMITTED_RESULT, SUCCESS -
Constructor Summary
ConstructorsConstructorDescriptionInternalNotification(String gqlStatus, String statusDescription, Map<String, Value> diagnosticRecord, String code, String title, String description, NotificationSeverity severityLevel, String rawSeverityLevel, NotificationClassification classification, String rawClassification, InputPosition position) -
Method Summary
Modifier and TypeMethodDescriptioncategory()Returns the category of the notification.ReturnsNotificationClassificationderived from the diagnostic record.code()Returns a notification code for the discovered issue.Returns a longer description of the notification.booleaninthashCode()position()The position in the query where this notification points to.Returns the raw category of the notification as a String returned by the server.Returns notification classification from the diagnostic record as aStringvalue retrieved directly from the diagnostic record.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 derived from the diagnostic record.title()Returns a short summary of the notification.toString()static Optional<NotificationCategory>Methods inherited from class org.neo4j.driver.internal.summary.InternalGqlStatusObject
diagnosticRecord, gqlStatus, statusDescriptionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.neo4j.driver.summary.GqlStatusObject
diagnosticRecord, gqlStatus, statusDescriptionMethods inherited from interface org.neo4j.driver.summary.Notification
inputPosition, severity
-
Constructor Details
-
InternalNotification
public InternalNotification(String gqlStatus, String statusDescription, Map<String, Value> diagnosticRecord, String code, String title, String description, NotificationSeverity severityLevel, String rawSeverityLevel, NotificationClassification classification, String rawClassification, InputPosition position)
-
-
Method Details
-
valueOf
-
code
Description copied from interface:NotificationReturns a notification code for the discovered issue.- Specified by:
codein interfaceNotification- Returns:
- the notification code
-
title
Description copied from interface:NotificationReturns a short summary of the notification.- Specified by:
titlein interfaceNotification- Returns:
- the title of the notification.
- See Also:
-
description
Description copied from interface:NotificationReturns a longer description of the notification.- Specified by:
descriptionin interfaceNotification- Returns:
- the description of the notification.
-
position
Description copied from interface:NotificationThe position in the query where this notification points to. Not all notifications have a unique position to point to and in that case the position would be set to null.- Specified by:
positionin interfaceNotification- Returns:
- the position in the query where the issue was found, or null if no position is associated with this notification.
-
severityLevel
Description copied from interface:NotificationReturns the severity level of the notification derived from the diagnostic record.- Specified by:
severityLevelin interfaceNotification- Returns:
- the severity level of the notification
- See Also:
-
rawSeverityLevel
Description copied from interface:NotificationReturns the raw severity level of the notification as a String value retrieved directly from the diagnostic record.- Specified by:
rawSeverityLevelin interfaceNotification- Returns:
- the severity level of the notification
- See Also:
-
classification
Description copied from interface:NotificationReturnsNotificationClassificationderived from the diagnostic record.- Specified by:
classificationin interfaceNotification- Returns:
- an
OptionalofNotificationClassificationor an emptyOptionalwhen the classification is either absent or unrecognised - See Also:
-
rawClassification
Description copied from interface:NotificationReturns notification classification from the diagnostic record as aStringvalue retrieved directly from the diagnostic record.- Specified by:
rawClassificationin interfaceNotification- Returns:
- an
Optionalof notification classification or an emptyOptionalwhen it is absent - See Also:
-
category
Description copied from interface:NotificationReturns the category of the notification.- Specified by:
categoryin interfaceNotification- Returns:
- the category of the notification
-
rawCategory
Description copied from interface:NotificationReturns the raw category of the notification as a String returned by the server.- Specified by:
rawCategoryin interfaceNotification- Returns:
- the category of the notification
-
equals
- Overrides:
equalsin classInternalGqlStatusObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classInternalGqlStatusObject
-
toString
- Overrides:
toStringin classInternalGqlStatusObject
-