public class SerDe
extends Object
Constructor and Description |
---|
SerDe() |
Modifier and Type | Method and Description |
---|---|
static Object |
readArray(java.io.DataInputStream dis,
org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker) |
static boolean |
readBoolean(java.io.DataInputStream in) |
static boolean[] |
readBooleanArr(java.io.DataInputStream in) |
static byte[] |
readBytes(java.io.DataInputStream in) |
static byte[][] |
readBytesArr(java.io.DataInputStream in) |
static java.sql.Date |
readDate(java.io.DataInputStream in) |
static double |
readDouble(java.io.DataInputStream in) |
static double[] |
readDoubleArr(java.io.DataInputStream in) |
static int |
readInt(java.io.DataInputStream in) |
static int[] |
readIntArr(java.io.DataInputStream in) |
static Object[] |
readList(java.io.DataInputStream dis,
org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker) |
static java.util.Map<Object,Object> |
readMap(java.io.DataInputStream in,
org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker) |
static Object |
readObject(java.io.DataInputStream dis,
org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker) |
static char |
readObjectType(java.io.DataInputStream dis) |
static String |
readString(java.io.DataInputStream in) |
static String[] |
readStringArr(java.io.DataInputStream in) |
static String |
readStringBytes(java.io.DataInputStream in,
int len) |
static java.sql.Timestamp |
readTime(java.io.DataInputStream in) |
static Object |
readTypedObject(java.io.DataInputStream dis,
char dataType,
org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker) |
static org.apache.spark.api.r.SerDe$ |
setSQLReadObject(scala.Function2<java.io.DataInputStream,Object,Object> value) |
static org.apache.spark.api.r.SerDe$ |
setSQLWriteObject(scala.Function2<java.io.DataOutputStream,Object,Object> value) |
static void |
writeBoolean(java.io.DataOutputStream out,
boolean value) |
static void |
writeBooleanArr(java.io.DataOutputStream out,
boolean[] value) |
static void |
writeBytes(java.io.DataOutputStream out,
byte[] value) |
static void |
writeDate(java.io.DataOutputStream out,
java.sql.Date value) |
static void |
writeDouble(java.io.DataOutputStream out,
double value) |
static void |
writeDoubleArr(java.io.DataOutputStream out,
double[] value) |
static void |
writeInt(java.io.DataOutputStream out,
int value) |
static void |
writeIntArr(java.io.DataOutputStream out,
int[] value) |
static void |
writeJObj(java.io.DataOutputStream out,
Object value,
org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker) |
static void |
writeObject(java.io.DataOutputStream dos,
Object obj,
org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker) |
static void |
writeString(java.io.DataOutputStream out,
String value) |
static void |
writeStringArr(java.io.DataOutputStream out,
String[] value) |
static void |
writeTime(java.io.DataOutputStream out,
java.sql.Time value) |
static void |
writeTime(java.io.DataOutputStream out,
java.sql.Timestamp value) |
static void |
writeType(java.io.DataOutputStream dos,
String typeStr) |
public static org.apache.spark.api.r.SerDe$ setSQLReadObject(scala.Function2<java.io.DataInputStream,Object,Object> value)
public static org.apache.spark.api.r.SerDe$ setSQLWriteObject(scala.Function2<java.io.DataOutputStream,Object,Object> value)
public static char readObjectType(java.io.DataInputStream dis)
public static Object readObject(java.io.DataInputStream dis, org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker)
public static Object readTypedObject(java.io.DataInputStream dis, char dataType, org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker)
public static byte[] readBytes(java.io.DataInputStream in)
public static int readInt(java.io.DataInputStream in)
public static double readDouble(java.io.DataInputStream in)
public static String readStringBytes(java.io.DataInputStream in, int len)
public static String readString(java.io.DataInputStream in)
public static boolean readBoolean(java.io.DataInputStream in)
public static java.sql.Date readDate(java.io.DataInputStream in)
public static java.sql.Timestamp readTime(java.io.DataInputStream in)
public static byte[][] readBytesArr(java.io.DataInputStream in)
public static int[] readIntArr(java.io.DataInputStream in)
public static double[] readDoubleArr(java.io.DataInputStream in)
public static boolean[] readBooleanArr(java.io.DataInputStream in)
public static String[] readStringArr(java.io.DataInputStream in)
public static Object readArray(java.io.DataInputStream dis, org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker)
public static Object[] readList(java.io.DataInputStream dis, org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker)
public static java.util.Map<Object,Object> readMap(java.io.DataInputStream in, org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker)
public static void writeType(java.io.DataOutputStream dos, String typeStr)
public static void writeObject(java.io.DataOutputStream dos, Object obj, org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker)
public static void writeInt(java.io.DataOutputStream out, int value)
public static void writeDouble(java.io.DataOutputStream out, double value)
public static void writeBoolean(java.io.DataOutputStream out, boolean value)
public static void writeDate(java.io.DataOutputStream out, java.sql.Date value)
public static void writeTime(java.io.DataOutputStream out, java.sql.Time value)
public static void writeTime(java.io.DataOutputStream out, java.sql.Timestamp value)
public static void writeString(java.io.DataOutputStream out, String value)
public static void writeBytes(java.io.DataOutputStream out, byte[] value)
public static void writeJObj(java.io.DataOutputStream out, Object value, org.apache.spark.api.r.JVMObjectTracker jvmObjectTracker)
public static void writeIntArr(java.io.DataOutputStream out, int[] value)
public static void writeDoubleArr(java.io.DataOutputStream out, double[] value)
public static void writeBooleanArr(java.io.DataOutputStream out, boolean[] value)
public static void writeStringArr(java.io.DataOutputStream out, String[] value)