@API.Public public class BeanCodec extends Object
Constructor and Description |
---|
BeanCodec() |
Modifier and Type | Method and Description |
---|---|
static Document |
decode(DocumentBuilder db,
Object bean) |
static <T> T |
encode(DocumentReader dr,
Class<T> beanClass) |
public static Document decode(@API.NonNullable DocumentBuilder db, @API.Nullable Object bean) throws DecodingException
DecodingException
public static <T> T encode(@API.Nullable DocumentReader dr, @API.NonNullable Class<T> beanClass) throws EncodingException
EncodingException
Copyright © 2015–2019 MapR Technologies, Inc.. All rights reserved.