This is an automated email from the ASF dual-hosted git repository.
xiazcy pushed a commit to branch graphbinary-bulk-list
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/graphbinary-bulk-list by this
push:
new 249f140f1b fix a missed change
249f140f1b is described below
commit 249f140f1bcd0c5f3fa46de64ca55b901f93bd9e
Author: Yang Xia <[email protected]>
AuthorDate: Tue Oct 8 13:02:02 2024 -0700
fix a missed change
---
.../gremlin/structure/io/binary/types/SimpleTypeSerializer.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/binary/types/SimpleTypeSerializer.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/binary/types/SimpleTypeSerializer.java
index fc546894c2..8cd2dee78d 100644
---
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/binary/types/SimpleTypeSerializer.java
+++
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/binary/types/SimpleTypeSerializer.java
@@ -18,6 +18,7 @@
*/
package org.apache.tinkerpop.gremlin.structure.io.binary.types;
+import org.apache.tinkerpop.gremlin.process.traversal.step.util.BulkSet;
import org.apache.tinkerpop.gremlin.structure.io.binary.DataType;
import org.apache.tinkerpop.gremlin.structure.io.binary.GraphBinaryReader;
import org.apache.tinkerpop.gremlin.structure.io.binary.GraphBinaryWriter;
@@ -89,6 +90,8 @@ public abstract class SimpleTypeSerializer<T> implements
TypeSerializer<T> {
if (nullable) {
if (value instanceof LinkedHashMap) {
context.writeValueFlagOrdered(buffer);
+ } if (value instanceof BulkSet) {
+ context.writeValueFlagBulk(buffer);
} else {
context.writeValueFlagNone(buffer);
}