Package org.apache.spark.serializer
Class JavaIterableWrapperSerializer
Object
com.esotericsoftware.kryo.Serializer<Iterable<?>>
org.apache.spark.serializer.JavaIterableWrapperSerializer
public class JavaIterableWrapperSerializer
extends com.esotericsoftware.kryo.Serializer<Iterable<?>>
A Kryo serializer for serializing results returned by asJavaIterable.
The underlying object is scala.collection.convert.Wrappers$IterableWrapper. Kryo deserializes this into an AbstractCollection, which unfortunately doesn't work.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.spark.internal.Logging.LogStringContext
LogStringContext
(scala.StringContext sc) static org.slf4j.Logger
static void
org$apache$spark$internal$Logging$$log__$eq
(org.slf4j.Logger x$1) Iterable<?>
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input in, Class<Iterable<?>> clz) void
write
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output out, Iterable<?> obj) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
JavaIterableWrapperSerializer
public JavaIterableWrapperSerializer()
-
-
Method Details
-
wrapperClass
-
org$apache$spark$internal$Logging$$log_
public static org.slf4j.Logger org$apache$spark$internal$Logging$$log_() -
org$apache$spark$internal$Logging$$log__$eq
public static void org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) -
LogStringContext
public static org.apache.spark.internal.Logging.LogStringContext LogStringContext(scala.StringContext sc) -
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output out, Iterable<?> obj) - Specified by:
write
in classcom.esotericsoftware.kryo.Serializer<Iterable<?>>
-
read
public Iterable<?> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input in, Class<Iterable<?>> clz) - Specified by:
read
in classcom.esotericsoftware.kryo.Serializer<Iterable<?>>
-