public class TypeSerializerRegistry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeSerializerRegistry.Builder |
| Modifier and Type | Field and Description |
|---|---|
static TypeSerializerRegistry |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static TypeSerializerRegistry.Builder |
build() |
<DT> TypeSerializer<DT> |
getSerializer(Class<DT> type) |
<DT> TypeSerializer<DT> |
getSerializer(DataType dataType) |
<DT> CustomTypeSerializer<DT> |
getSerializerForCustomType(String name)
Gets the serializer for a given custom type name.
|
public static final TypeSerializerRegistry INSTANCE
public static TypeSerializerRegistry.Builder build()
public <DT> TypeSerializer<DT> getSerializer(Class<DT> type) throws IOException
IOExceptionpublic <DT> TypeSerializer<DT> getSerializer(DataType dataType) throws IOException
IOExceptionpublic <DT> CustomTypeSerializer<DT> getSerializerForCustomType(String name) throws IOException
IOExceptionCopyright © 2013–2020 Apache Software Foundation. All rights reserved.