com.ebay.erl.mobius.util
Class SerializableUtil
java.lang.Object
com.ebay.erl.mobius.util.SerializableUtil
public class SerializableUtil
- extends java.lang.Object
Provides SerDe methods.
This product is licensed under the Apache License, Version 2.0,
available at http://www.apache.org/licenses/LICENSE-2.0.
This product contains portions derived from Apache hadoop which is
licensed under the Apache License, Version 2.0, available at
http://hadoop.apache.org.
© 2007 – 2012 eBay Inc., Evan Chiu, Woody Zhou, Neel Sundaresan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializableUtil
public SerializableUtil()
serializeToBase64
public static final java.lang.String serializeToBase64(byte[] binary)
throws java.io.IOException
- Throws:
java.io.IOException
serializeToBase64
public static final java.lang.String serializeToBase64(java.io.Serializable obj)
throws java.io.IOException
- Throws:
java.io.IOException
deserializeFromBase64
public static java.lang.Object deserializeFromBase64(java.lang.String base64String,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
- Throws:
java.io.IOException
deseralizeComparable
public static java.lang.Comparable<?> deseralizeComparable(java.io.DataInput in,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
- Throws:
java.io.IOException
deseralizeTreeMap
public static CaseInsensitiveTreeMap deseralizeTreeMap(java.io.DataInput in)
throws java.io.IOException
- Throws:
java.io.IOException