Examples of CRC32OutputStream


Examples of backtype.storm.utils.CRC32OutputStream

            }
        }

        public long crc32(Tuple tuple) {
            try {
                CRC32OutputStream hasher = new CRC32OutputStream();
                _kryo.serializeInto(tuple.getValues(), hasher);
                return hasher.getValue();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }

        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.