ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Scherbakov <alexey.scherbak...@gmail.com>
Subject Support for packed int and long primitives in raw binary API
Date Fri, 29 Sep 2017 10:29:14 GMT
Guys,

I notices we do not have support for packed ints and longs in raw binary
API [1] [2]

Such methods are essential for implementing efficient custom compression
schemes.

Their addition can simplify implementing custom serializers for the cases
then default binary marshaller is not enough, without additional library
dependencies.

Proposed API extension for rawReader/rawWriter:

org.apache.ignite.binary.BinaryRawWriter#writePackedInt

org.apache.ignite.binary.BinaryRawWriter#writePackedLong

org.apache.ignite.binary.BinaryRawReader#readPackedInt

org.apache.ignite.binary.BinaryRawReader#readPackedLong

JIRA ticket: [3]

Thoughs ?

[1] org.apache.ignite.binary.BinaryRawReader

[2] org.apache.ignite.binary.BinaryRawWriter

[3] https://issues.apache.org/jira/browse/IGNITE-6426

-- 

Best regards,
Alexei Scherbakov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message