public class KryoSerializer extends Serializer implements org.apache.spark.internal.Logging, java.io.Serializable
Constructor and Description |
---|
KryoSerializer(SparkConf conf) |
Modifier and Type | Method and Description |
---|---|
int |
maxBufferSizeMb() |
SerializerInstance |
newInstance()
Creates a new
SerializerInstance . |
com.esotericsoftware.kryo.Kryo |
newKryo() |
com.esotericsoftware.kryo.io.Output |
newKryoOutput() |
com.esotericsoftware.kryo.pool.KryoPool |
pool() |
Serializer |
setDefaultClassLoader(ClassLoader classLoader)
Sets a class loader for the serializer to use in deserialization.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, initLock, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log__$eq, org$apache$spark$internal$Logging$$log_, uninitialize
public KryoSerializer(SparkConf conf)
public int maxBufferSizeMb()
public com.esotericsoftware.kryo.io.Output newKryoOutput()
public com.esotericsoftware.kryo.pool.KryoPool pool()
public com.esotericsoftware.kryo.Kryo newKryo()
public Serializer setDefaultClassLoader(ClassLoader classLoader)
Serializer
setDefaultClassLoader
in class Serializer
classLoader
- (undocumented)public SerializerInstance newInstance()
Serializer
SerializerInstance
.newInstance
in class Serializer