Package | Description |
---|---|
org.ojai | |
org.ojai.beans | |
org.ojai.util |
Modifier and Type | Method and Description |
---|---|
T |
OjaiCodec.encodeCondition(QueryCondition condition)
Encodes an OJAI
QueryCondition into an instance of <T> |
T |
OjaiCodec.encodeDocument(Document document)
Encodes an OJAI
Document into an instance of <T> |
T |
OjaiCodec.encodeMutation(DocumentMutation mutation)
Encodes an OJAI
DocumentMutation into an instance of <T> |
T |
OjaiCodec.encodeQuery(Query query)
Encodes an OJAI
Query into an instance of <T> |
Modifier and Type | Method and Description |
---|---|
static <T> T |
BeanCodec.encode(DocumentReader dr,
Class<T> beanClass) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
DocumentReaders.encode(DocumentReader reader)
Encodes values from the specified DocumentReader into a Java Map.
|
static Map<String,Object> |
MapEncoder.encode(DocumentReader reader)
Deprecated.
Encodes values from the specified DocumentReader into a Java Map.
|
static List<Object> |
DocumentReaders.encodeArray(DocumentReader dr)
Encodes values from the specified DocumentReader into a Java Map.
This method should be called after consuming
DocumentReader.EventType.START_ARRAY . |
static Map<String,Object> |
DocumentReaders.encodeMap(DocumentReader dr)
Encodes values from the specified DocumentReader into a Java
List .
The difference between this method and DocumentReaders.encode(DocumentReader) is that
this should be called after consuming DocumentReader.EventType.START_MAP . |
static Object |
DocumentReaders.encodeValue(DocumentReader dr)
Returns the corresponding Java Object for the current node in
DocumentReader . |
Copyright © 2015–2018 MapR Technologies, Inc.. All rights reserved.