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> <dependency>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-buffer</artifactId> <artifactId>netty-buffer</artifactId>
<version>4.1.54.Final</version> <version>4.1.58.Final</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -42,7 +42,10 @@ public abstract class PrepareLoadStrategy extends IdStrategy {
this.typeIdMapping.put(key, NumberSchema.Int16.INSTANCE); this.typeIdMapping.put(key, NumberSchema.Int16.INSTANCE);
break; break;
case DWORD: 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; break;
case BYTES: case BYTES:
this.typeIdMapping.put(key, ArraySchema.ByteArraySchema.INSTANCE); this.typeIdMapping.put(key, ArraySchema.ByteArraySchema.INSTANCE);