Interface ServerInfo

All Known Implementing Classes:
InternalServerInfo

public interface ServerInfo
Provides some basic information of the server where the result is obtained from.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a string telling the address of the server the query was executed.
    Returns server agent string by which the remote server identifies itself.
    Returns Bolt protocol version with which the remote server communicates.
  • Method Details

    • address

      String address()
      Returns a string telling the address of the server the query was executed.
      Returns:
      The address of the server the query was executed.
    • protocolVersion

      String protocolVersion()
      Returns Bolt protocol version with which the remote server communicates. This is returned as a string in format X.Y where X is the major version and Y is the minor version.
      Returns:
      The Bolt protocol version.
    • agent

      String agent()
      Returns server agent string by which the remote server identifies itself.
      Returns:
      The agent string.