Variable
Static Public Summary | ||
public |
PROTOCOL_ERROR: string Error code representing serialization/deserialization issue in the Bolt protocol. |
|
public |
READ: string Constant that represents read session access mode. |
|
public |
SERVICE_UNAVAILABLE: string Error code representing complete loss of service. |
|
public |
SESSION_EXPIRED: string Error code representing transient loss of service. |
|
public |
WRITE: string Constant that represents write session access mode. |
|
public |
|
|
public |
Holds the common AuthTokenManagers used in the Driver. |
|
public |
Holds the common ClientCertificateProviders used in the Driver. |
since 5.27 |
public |
Object containing string constants representing predefined Neo4jError codes. |
|
public |
|
|
public |
|
|
public |
inSafeRange(value: Mixed): Boolean Check if a variable can be safely converted to a number |
|
public |
Cast value to Integer type. |
|
public |
|
|
public |
isInt(value: Mixed): Boolean Check if a variable is of Integer type. |
|
public |
isRetriableError(error: object | undefined | null): boolean Verifies if the given error is retriable. |
|
public |
Object containing predefined logging configurations. |
|
public |
Constants that represents the Category in the Notification |
|
public |
this variable is experimental.
Constants that represents the Classification in the GqlStatusObject |
|
public |
Constants that represents the disabled categories in the NotificationFilter |
|
public |
this variable is experimental.
Constants that represents the disabled classifications in the NotificationFilter |
|
public |
Constants that represents the minimum Severity level in the NotificationFilter |
|
public |
Constants that represents the Severity level in the Notification |
|
public |
queryType: {SCHEMA_WRITE: string, WRITE_ONLY: string, READ_ONLY: string, READ_WRITE: string} The constants for query types |
|
public |
|
|
public |
|
|
public |
Constants that represents routing modes. |
|
public |
|
|
public |
|
|
public |
|
|
public |
toNumber(value: Mixed): number Converts a variable to a number |
|
public |
toString(value: Mixed, radix: number): string Converts the integer to a string representation |
|
public |
|
Static Public
public PROTOCOL_ERROR: string source
import {PROTOCOL_ERROR} from 'neo4j-driver-core/lib/error.js'
Error code representing serialization/deserialization issue in the Bolt protocol. Used by Neo4jError#code.
public READ: string source
import {READ} from 'neo4j-driver-core/lib/driver.js'
Constant that represents read session access mode.
Should be used like this: driver.session({ defaultAccessMode: neo4j.session.READ })
.
public SERVICE_UNAVAILABLE: string source
import {SERVICE_UNAVAILABLE} from 'neo4j-driver-core/lib/error.js'
Error code representing complete loss of service. Used by Neo4jError#code.
public SESSION_EXPIRED: string source
import {SESSION_EXPIRED} from 'neo4j-driver-core/lib/error.js'
Error code representing transient loss of service. Used by Neo4jError#code.
public WRITE: string source
import {WRITE} from 'neo4j-driver-core/lib/driver.js'
Constant that represents write session access mode.
Should be used like this: driver.session({ defaultAccessMode: neo4j.session.WRITE })
.
public auth source
import auth from 'neo4j-driver-core/lib/auth.js'
Properties:
Name | Type | Attribute | Description |
basic | function(username: string, password: string, realm: ?string) | the function to create a basic authentication token. |
|
kerberos | function(base64EncodedTicket: string) | the function to create a Kerberos authentication token. Accepts a single string argument - base64 encoded Kerberos ticket. |
|
bearer | function(base64EncodedTicket: string) | the function to create a Bearer authentication token. Accepts a single string argument - base64 encoded Bearer ticket. |
|
custom | function(principal: string, credentials: string, realm: string, scheme: string, parameters: ?object) | the function to create a custom authentication token. |
public authTokenManagers source
import {authTokenManagers} from 'neo4j-driver-core/lib/auth-token-manager.js'
Holds the common AuthTokenManagers used in the Driver.
public clientCertificateProviders since 5.27 source
import {clientCertificateProviders} from 'neo4j-driver-core/lib/client-certificate.js'
Holds the common ClientCertificateProviders used in the Driver.
public error source
import {error} from 'neo4j-driver-core'
Object containing string constants representing predefined Neo4jError codes.
public inSafeRange(value: Mixed): Boolean source
import {inSafeRange} from 'neo4j-driver-core/lib/integer.js'
Check if a variable can be safely converted to a number
Return:
Boolean | true if it is safe to call toNumber on variable otherwise false |
public int(value: Mixed, opts: Object): Integer source
import {int} from 'neo4j-driver-core/lib/integer.js'
Cast value to Integer type.
public isInt(value: Mixed): Boolean source
import {isInt} from 'neo4j-driver-core/lib/integer.js'
Check if a variable is of Integer type.
Return:
Boolean | Is it of the Integer type? |
public isRetriableError(error: object | undefined | null): boolean source
import {isRetriableError} from 'neo4j-driver-core/lib/error.js'
Verifies if the given error is retriable.
Return:
boolean | true if the error is retriable |
public logging source
import {logging} from 'neo4j-driver'
Object containing predefined logging configurations. These are expected to be used as values of the driver config's logging
property.
Properties:
Name | Type | Attribute | Description |
console | function(level: ?string): object | the function to create a logging config that prints all messages to |
public notificationCategory source
import {notificationCategory} from 'neo4j-driver-core/lib/notification.js'
Constants that represents the Category in the Notification
public notificationClassification: notificationCategory source
import {notificationClassification} from 'neo4j-driver-core/lib/notification.js'
Constants that represents the Classification in the GqlStatusObject
public notificationFilterDisabledCategory source
import {notificationFilterDisabledCategory} from 'neo4j-driver-core/lib/notification-filter.js'
Constants that represents the disabled categories in the NotificationFilter
public notificationFilterDisabledClassification: notificationFilterDisabledCategory source
import {notificationFilterDisabledClassification} from 'neo4j-driver-core/lib/notification-filter.js'
Constants that represents the disabled classifications in the NotificationFilter
public notificationFilterMinimumSeverityLevel source
import {notificationFilterMinimumSeverityLevel} from 'neo4j-driver-core/lib/notification-filter.js'
Constants that represents the minimum Severity level in the NotificationFilter
public notificationSeverityLevel source
import {notificationSeverityLevel} from 'neo4j-driver-core/lib/notification.js'
Constants that represents the Severity level in the Notification
public queryType: {SCHEMA_WRITE: string, WRITE_ONLY: string, READ_ONLY: string, READ_WRITE: string} source
import {queryType} from 'neo4j-driver-core/lib/result-summary.js'
The constants for query types
public rawPolyfilledDiagnosticRecord source
import {rawPolyfilledDiagnosticRecord} from 'neo4j-driver-core/lib/gql-constants.js'
public resultTransformers source
import resultTransformers from 'neo4j-driver-core/lib/result-transformers.js'
public routing source
import {routing} from 'neo4j-driver-core/lib/driver.js'
Constants that represents routing modes.
Example:
driver.executeQuery("<QUERY>", <PARAMETERS>, { routing: neo4j.routing.WRITE })
public toNumber(value: Mixed): number source
import {toNumber} from 'neo4j-driver-core/lib/integer.js'
Converts a variable to a number
Return:
number | the variable as a number |
public toString(value: Mixed, radix: number): string source
import {toString} from 'neo4j-driver-core/lib/integer.js'
Converts the integer to a string representation
Return:
string | returns a string representation of the integer |