Package org.apache.spark.serializer
Class SerializerHelper
Object
org.apache.spark.serializer.SerializerHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
deserializeFromChunkedBuffer
(SerializerInstance serializerInstance, org.apache.spark.util.io.ChunkedByteBuffer bytes, scala.reflect.ClassTag<T> evidence$2) static 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) static <T> org.apache.spark.util.io.ChunkedByteBuffer
serializeToChunkedBuffer
(SerializerInstance serializerInstance, T objectToSerialize, long estimatedSize, scala.reflect.ClassTag<T> evidence$1)
-
Constructor Details
-
SerializerHelper
public SerializerHelper()
-
-
Method Details
-
serializeToChunkedBuffer
public static <T> org.apache.spark.util.io.ChunkedByteBuffer serializeToChunkedBuffer(SerializerInstance serializerInstance, T objectToSerialize, long estimatedSize, scala.reflect.ClassTag<T> evidence$1) - Parameters:
serializerInstance
- instance of SerializerInstanceobjectToSerialize
- the object to serialize, of typeT
estimatedSize
- estimated size oft
, used as a hint to choose proper chunk sizeevidence$1
- (undocumented)- Returns:
- (undocumented)
-
deserializeFromChunkedBuffer
public static <T> T deserializeFromChunkedBuffer(SerializerInstance serializerInstance, org.apache.spark.util.io.ChunkedByteBuffer bytes, scala.reflect.ClassTag<T> evidence$2) -
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)
-