Module org.neo4j.driver
Class CommonValueUnpacker
java.lang.Object
org.neo4j.driver.internal.bolt.basicimpl.messaging.common.CommonValueUnpacker
- All Implemented Interfaces:
ValueUnpacker
- Direct Known Subclasses:
ValueUnpackerV5
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final intstatic final intstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final intstatic final bytestatic final intstatic final bytestatic final intstatic final bytestatic final bytestatic final intstatic final bytestatic final intstatic final bytestatic final bytestatic final bytestatic final intstatic final byteprotected final PackStream.Unpacker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidensureCorrectStructSignature(String structName, byte expected, byte actual) protected final voidensureCorrectStructSize(TypeConstructor typeConstructor, int expected, long actual) protected intprotected intprotected Valueunpack()Value[]protected org.neo4j.driver.internal.InternalNodeprotected Valueprotected Valuelongint
-
Field Details
-
DATE
public static final byte DATE- See Also:
-
DATE_STRUCT_SIZE
public static final int DATE_STRUCT_SIZE- See Also:
-
TIME
public static final byte TIME- See Also:
-
TIME_STRUCT_SIZE
public static final int TIME_STRUCT_SIZE- See Also:
-
LOCAL_TIME
public static final byte LOCAL_TIME- See Also:
-
LOCAL_TIME_STRUCT_SIZE
public static final int LOCAL_TIME_STRUCT_SIZE- See Also:
-
LOCAL_DATE_TIME
public static final byte LOCAL_DATE_TIME- See Also:
-
LOCAL_DATE_TIME_STRUCT_SIZE
public static final int LOCAL_DATE_TIME_STRUCT_SIZE- See Also:
-
DATE_TIME_WITH_ZONE_OFFSET
public static final byte DATE_TIME_WITH_ZONE_OFFSET- See Also:
-
DATE_TIME_WITH_ZONE_OFFSET_UTC
public static final byte DATE_TIME_WITH_ZONE_OFFSET_UTC- See Also:
-
DATE_TIME_WITH_ZONE_ID
public static final byte DATE_TIME_WITH_ZONE_ID- See Also:
-
DATE_TIME_WITH_ZONE_ID_UTC
public static final byte DATE_TIME_WITH_ZONE_ID_UTC- See Also:
-
DATE_TIME_STRUCT_SIZE
public static final int DATE_TIME_STRUCT_SIZE- See Also:
-
DURATION
public static final byte DURATION- See Also:
-
DURATION_TIME_STRUCT_SIZE
public static final int DURATION_TIME_STRUCT_SIZE- See Also:
-
POINT_2D_STRUCT_TYPE
public static final byte POINT_2D_STRUCT_TYPE- See Also:
-
POINT_2D_STRUCT_SIZE
public static final int POINT_2D_STRUCT_SIZE- See Also:
-
POINT_3D_STRUCT_TYPE
public static final byte POINT_3D_STRUCT_TYPE- See Also:
-
POINT_3D_STRUCT_SIZE
public static final int POINT_3D_STRUCT_SIZE- See Also:
-
NODE
public static final byte NODE- See Also:
-
RELATIONSHIP
public static final byte RELATIONSHIP- See Also:
-
UNBOUND_RELATIONSHIP
public static final byte UNBOUND_RELATIONSHIP- See Also:
-
PATH
public static final byte PATH- See Also:
-
unpacker
-
-
Constructor Details
-
CommonValueUnpacker
-
-
Method Details
-
unpackStructHeader
- Specified by:
unpackStructHeaderin interfaceValueUnpacker- Throws:
IOException
-
unpackStructSignature
- Specified by:
unpackStructSignaturein interfaceValueUnpacker- Throws:
IOException
-
unpackMap
- Specified by:
unpackMapin interfaceValueUnpacker- Throws:
IOException
-
unpackArray
- Specified by:
unpackArrayin interfaceValueUnpacker- Throws:
IOException
-
unpack
- Throws:
IOException
-
unpackRelationship
- Throws:
IOException
-
unpackNode
- Throws:
IOException
-
unpackPath
- Throws:
IOException
-
ensureCorrectStructSize
protected final void ensureCorrectStructSize(TypeConstructor typeConstructor, int expected, long actual) -
ensureCorrectStructSignature
-
getNodeFields
protected int getNodeFields() -
getRelationshipFields
protected int getRelationshipFields()
-