Class InternalTypeSystem

java.lang.Object
org.neo4j.driver.internal.types.InternalTypeSystem
All Implemented Interfaces:
TypeSystem

public class InternalTypeSystem extends Object implements TypeSystem
Utility class for determining and working with the Cypher types of values
See Also:
  • Field Details

  • Method Details

    • ANY

      public Type ANY()
      Description copied from interface: TypeSystem
      Returns a Type instance representing any type.
      Specified by:
      ANY in interface TypeSystem
      Returns:
      the type instance
    • BOOLEAN

      public Type BOOLEAN()
      Description copied from interface: TypeSystem
      Returns a Type instance representing boolean.
      Specified by:
      BOOLEAN in interface TypeSystem
      Returns:
      the type instance
    • BYTES

      public Type BYTES()
      Description copied from interface: TypeSystem
      Returns a Type instance representing bytes.
      Specified by:
      BYTES in interface TypeSystem
      Returns:
      the type instance
    • STRING

      public Type STRING()
      Description copied from interface: TypeSystem
      Returns a Type instance representing string.
      Specified by:
      STRING in interface TypeSystem
      Returns:
      the type instance
    • NUMBER

      public Type NUMBER()
      Description copied from interface: TypeSystem
      Returns a Type instance representing number.
      Specified by:
      NUMBER in interface TypeSystem
      Returns:
      the type instance
    • INTEGER

      public Type INTEGER()
      Description copied from interface: TypeSystem
      Returns a Type instance representing integer.
      Specified by:
      INTEGER in interface TypeSystem
      Returns:
      the type instance
    • FLOAT

      public Type FLOAT()
      Description copied from interface: TypeSystem
      Returns a Type instance representing float.
      Specified by:
      FLOAT in interface TypeSystem
      Returns:
      the type instance
    • LIST

      public Type LIST()
      Description copied from interface: TypeSystem
      Returns a Type instance representing list.
      Specified by:
      LIST in interface TypeSystem
      Returns:
      the type instance
    • MAP

      public Type MAP()
      Description copied from interface: TypeSystem
      Returns a Type instance representing map.
      Specified by:
      MAP in interface TypeSystem
      Returns:
      the type instance
    • NODE

      public Type NODE()
      Description copied from interface: TypeSystem
      Returns a Type instance representing node.
      Specified by:
      NODE in interface TypeSystem
      Returns:
      the type instance
    • RELATIONSHIP

      public Type RELATIONSHIP()
      Description copied from interface: TypeSystem
      Returns a Type instance representing relationship.
      Specified by:
      RELATIONSHIP in interface TypeSystem
      Returns:
      the type instance
    • PATH

      public Type PATH()
      Description copied from interface: TypeSystem
      Returns a Type instance representing path.
      Specified by:
      PATH in interface TypeSystem
      Returns:
      the type instance
    • POINT

      public Type POINT()
      Description copied from interface: TypeSystem
      Returns a Type instance representing point.
      Specified by:
      POINT in interface TypeSystem
      Returns:
      the type instance
    • DATE

      public Type DATE()
      Description copied from interface: TypeSystem
      Returns a Type instance representing date.
      Specified by:
      DATE in interface TypeSystem
      Returns:
      the type instance
    • TIME

      public Type TIME()
      Description copied from interface: TypeSystem
      Returns a Type instance representing time.
      Specified by:
      TIME in interface TypeSystem
      Returns:
      the type instance
    • LOCAL_TIME

      public Type LOCAL_TIME()
      Description copied from interface: TypeSystem
      Returns a Type instance representing local time.
      Specified by:
      LOCAL_TIME in interface TypeSystem
      Returns:
      the type instance
    • LOCAL_DATE_TIME

      public Type LOCAL_DATE_TIME()
      Description copied from interface: TypeSystem
      Returns a Type instance representing local date time.
      Specified by:
      LOCAL_DATE_TIME in interface TypeSystem
      Returns:
      the type instance
    • DATE_TIME

      public Type DATE_TIME()
      Description copied from interface: TypeSystem
      Returns a Type instance representing date time.
      Specified by:
      DATE_TIME in interface TypeSystem
      Returns:
      the type instance
    • DURATION

      public Type DURATION()
      Description copied from interface: TypeSystem
      Returns a Type instance representing duration.
      Specified by:
      DURATION in interface TypeSystem
      Returns:
      the type instance
    • NULL

      public Type NULL()
      Description copied from interface: TypeSystem
      Returns a Type instance representing NULL.
      Specified by:
      NULL in interface TypeSystem
      Returns:
      the type instance
    • VECTOR

      public Type VECTOR()
      Description copied from interface: TypeSystem
      Returns a Type instance representing Neo4j Vector.
      Specified by:
      VECTOR in interface TypeSystem
      Returns:
      the type instance
    • UNSUPPORTED

      public Type UNSUPPORTED()
      Description copied from interface: TypeSystem
      Returns a Type instance representing an unsupported type.

      An unsupported type may occur when a new type is introduced in the Neo4j server and the driver is connected over an older Bolt Protocol version that does not support this type. The UnsupportedType object provides information about the unsupported type and the UnsupportedType.minProtocolVersion() needed to support it. However, the UnsupportedType object itself requires at least Bolt Protocol 6.0.

      Note that the unsupported type MUST NOT be sent to the server.

      Specified by:
      UNSUPPORTED in interface TypeSystem
      Returns:
      the type instance
      See Also: