Module org.neo4j.driver
Class CommonValueUnpacker
java.lang.Object
org.neo4j.driver.internal.messaging.common.CommonValueUnpacker
- All Implemented Interfaces:
ValueUnpacker
- Direct Known Subclasses:
ValueUnpackerV5
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
static final int
static final int
static final byte
static final byte
static final byte
static final byte
static final byte
static final int
static final byte
static final int
static final byte
static final int
static final byte
static final byte
static final int
static final byte
static final int
static final byte
static final byte
static final byte
static final int
static final byte
protected final PackStream.Unpacker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
ensureCorrectStructSignature
(String structName, byte expected, byte actual) protected final void
ensureCorrectStructSize
(TypeConstructor typeConstructor, int expected, long actual) protected int
protected int
protected Value
unpack()
Value[]
protected org.neo4j.driver.internal.InternalNode
protected Value
protected Value
long
int
-
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:
unpackStructHeader
in interfaceValueUnpacker
- Throws:
IOException
-
unpackStructSignature
- Specified by:
unpackStructSignature
in interfaceValueUnpacker
- Throws:
IOException
-
unpackMap
- Specified by:
unpackMap
in interfaceValueUnpacker
- Throws:
IOException
-
unpackArray
- Specified by:
unpackArray
in 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()
-