public class SerDe
extends java.lang.Object
| Constructor and Description |
|---|
SerDe() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
fromJson(byte[] bytes,
java.lang.Class<T> classOfT) |
static <T> T |
fromJson(java.lang.String object,
java.lang.Class<T> classOfT) |
static java.lang.String |
toJson(com.google.cloud.bigquery.FieldList fieldList) |
static java.lang.String |
toJson(com.google.cloud.bigquery.Schema schema) |
static java.lang.String |
toJson(com.google.cloud.bigquery.TableResult tableResult) |
static byte[] |
toJsonBytes(com.google.cloud.bigquery.FieldList fieldList) |
static byte[] |
toJsonBytes(com.google.cloud.bigquery.Schema schema) |
static byte[] |
toJsonBytes(com.google.cloud.bigquery.TableResult tableResult) |
public static java.lang.String toJson(com.google.cloud.bigquery.TableResult tableResult)
public static byte[] toJsonBytes(com.google.cloud.bigquery.TableResult tableResult)
public static java.lang.String toJson(com.google.cloud.bigquery.Schema schema)
public static byte[] toJsonBytes(com.google.cloud.bigquery.Schema schema)
public static java.lang.String toJson(com.google.cloud.bigquery.FieldList fieldList)
public static byte[] toJsonBytes(com.google.cloud.bigquery.FieldList fieldList)
public static <T> T fromJson(java.lang.String object,
java.lang.Class<T> classOfT)
throws java.lang.ClassCastException
java.lang.ClassCastExceptionpublic static <T> T fromJson(byte[] bytes,
java.lang.Class<T> classOfT)