java.lang.Object
org.neo4j.driver.internal.summary.InternalGqlStatusObject
org.neo4j.driver.internal.summary.InternalGqlNotification
- All Implemented Interfaces:
GqlNotification,GqlStatusObject
public final class InternalGqlNotification
extends InternalGqlStatusObject
implements GqlNotification
-
Field Summary
Fields inherited from class org.neo4j.driver.internal.summary.InternalGqlStatusObject
diagnosticRecord, gqlStatus, NO_DATA, NO_DATA_UNKNOWN, OMITTED_RESULT, statusDescription, SUCCESS -
Constructor Summary
ConstructorsConstructorDescriptionInternalGqlNotification(String gqlStatus, String statusDescription, Map<String, Value> diagnosticRecord, InputPosition position, NotificationSeverity severityLevel, String rawSeverityLevel, NotificationClassification classification, String rawClassification, String code, String title, String description) -
Method Summary
Modifier and TypeMethodDescriptionReturnsNotificationClassificationderived from the diagnostic record.code()booleaninthashCode()position()Returns a position in the query where this notification points to.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.severity()Returns the severity level of the notification derived from the diagnostic record.title()toString()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, statusDescription
-
Constructor Details
-
InternalGqlNotification
public InternalGqlNotification(String gqlStatus, String statusDescription, Map<String, Value> diagnosticRecord, InputPosition position, NotificationSeverity severityLevel, String rawSeverityLevel, NotificationClassification classification, String rawClassification, String code, String title, String description)
-
-
Method Details
-
position
Description copied from interface:GqlNotificationReturns 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
Optionalis returned.- Specified by:
positionin interfaceGqlNotification- Returns:
- an
Optionalof theInputPositionif available or an emptyOptionalotherwise
-
severity
Description copied from interface:GqlNotificationReturns the severity level of the notification derived from the diagnostic record.- Specified by:
severityin interfaceGqlNotification- Returns:
- the severity level of the notification
- See Also:
-
rawSeverity
Description copied from interface:GqlNotificationReturns the raw severity level of the notification as a String value retrieved directly from the diagnostic record.- Specified by:
rawSeverityin interfaceGqlNotification- Returns:
- the severity level of the notification
- See Also:
-
classification
Description copied from interface:GqlNotificationReturnsNotificationClassificationderived from the diagnostic record.- Specified by:
classificationin interfaceGqlNotification- Returns:
- an
OptionalofNotificationClassificationor an emptyOptionalwhen the classification is either absent or unrecognised - See Also:
-
rawClassification
Description copied from interface:GqlNotificationReturns notification classification from the diagnostic record as aStringvalue retrieved directly from the diagnostic record.- Specified by:
rawClassificationin interfaceGqlNotification- Returns:
- an
Optionalof notification classification or an emptyOptionalwhen it is absent - See Also:
-
equals
- Overrides:
equalsin classInternalGqlStatusObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classInternalGqlStatusObject
-
toString
- Overrides:
toStringin classInternalGqlStatusObject
-
code
-
title
-
description
-