1.DWORD为无符号32位整型,PrepareLoadStrategy中DWORD对应的Java类修改为Long; 2.增加QWORD解析; 3.升级netty依赖

master
剑器近 2021-01-31 15:14:31 +08:00
parent 48528d6b2c
commit d69b5169e8
2 changed files with 5 additions and 2 deletions

View File

@ -62,7 +62,7 @@
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-buffer</artifactId>
<version>4.1.54.Final</version>
<version>4.1.58.Final</version>
<scope>provided</scope>
</dependency>
</dependencies>

View File

@ -42,7 +42,10 @@ public abstract class PrepareLoadStrategy extends IdStrategy {
this.typeIdMapping.put(key, NumberSchema.Int16.INSTANCE);
break;
case DWORD:
this.typeIdMapping.put(key, NumberSchema.Int32.INSTANCE);
this.typeIdMapping.put(key, NumberSchema.Long32.INSTANCE);
break;
case QWORD:
this.typeIdMapping.put(key, NumberSchema.Long64.INSTANCE);
break;
case BYTES:
this.typeIdMapping.put(key, ArraySchema.ByteArraySchema.INSTANCE);