public class SerializationUtils extends Object
Constructor and Description |
---|
SerializationUtils() |
Modifier and Type | Method and Description |
---|---|
static char |
readCharUTF(DataInput in) |
static long |
readSparseBits(DataInput in)
Read a sparse compressed bitset from
in . |
static String |
readString(DataInput in) |
static int |
readVInt(DataInput in)
VInt compression similar to lucene, except the 1 bits are all put in the beginning.
|
static int |
readZInt(DataInput in) |
static void |
writeCharUTF(DataOutput out,
char c) |
static void |
writeSparseBits(DataOutput out,
long v)
Write a sparse bitset to
out for bits in value . |
static void |
writeString(DataOutput out,
String value) |
static void |
writeVInt(DataOutput out,
int value)
VInt compression similar to lucene, except the 1 bits are all put in the beginning.
|
static void |
writeZInt(DataOutput out,
int value) |
public static long readSparseBits(DataInput in) throws IOException
in
.IOException
public static void writeSparseBits(DataOutput out, long v) throws IOException
out
for bits in value
.IOException
public static String readString(DataInput in) throws IOException
IOException
public static void writeString(DataOutput out, String value) throws IOException
IOException
public static char readCharUTF(DataInput in) throws IOException
IOException
public static void writeCharUTF(DataOutput out, char c) throws IOException
IOException
public static int readZInt(DataInput in) throws IOException
IOException
public static void writeZInt(DataOutput out, int value) throws IOException
IOException
public static void writeVInt(DataOutput out, int value) throws IOException
IOException
public static int readVInt(DataInput in) throws IOException
IOException
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.