Package | Description |
---|---|
org.ojai | |
org.ojai.beans | |
org.ojai.json | |
org.ojai.store |
Modifier and Type | Method and Description |
---|---|
QueryCondition |
OjaiCodec.decodeCondition(T encodedCondition)
Decodes an instance of <T> into an OJAI
QueryCondition |
Document |
OjaiCodec.decodeDocument(T encodedDocument)
Decodes an instance of <T> into an OJAI
Document |
DocumentMutation |
OjaiCodec.decodeMutation(T encodedMutation)
Decodes an instance of <T> into an OJAI
DocumentMutation |
Query |
OjaiCodec.decodeQuery(T encodedQuery,
Document options)
Decodes an instance of <T> into an OJAI
Query |
<T> T |
Document.toJavaBean(Class<T> beanClass)
Converts this Document to an instance of the specified class.
|
Modifier and Type | Method and Description |
---|---|
static Document |
BeanCodec.decode(DocumentBuilder db,
Object bean) |
Modifier and Type | Method and Description |
---|---|
static <T> Document |
Json.newDocument(Map<String,T> map)
Returns a new instance of a Document built from the specified Map.
|
static Document |
Json.newDocument(Object bean)
Returns a new instance of a Document built from the specified Java bean.
|
static Document |
Json.newDocument(String jsonString)
Returns a Document built from the specified JSON string.
|
static DocumentReader |
Json.newDocumentReader(String jsonString)
Returns a new instance of the JSON DocumentReader.
|
static DocumentStream |
Json.newDocumentStream(org.apache.hadoop.fs.FileSystem fs,
String path) |
static DocumentStream |
Json.newDocumentStream(org.apache.hadoop.fs.FileSystem fs,
String path,
Events.Delegate eventDelegate) |
static DocumentStream |
Json.newDocumentStream(org.apache.hadoop.fs.FileSystem fs,
String path,
Map<FieldPath,Value.Type> fieldPathTypeMap) |
Modifier and Type | Method and Description |
---|---|
Document |
Driver.newDocument(Map<String,Object> map)
Returns a new instance of Document constructed from the specified Map.
|
Document |
Connection.newDocument(Map<String,Object> map)
Returns a new instance of Document constructed from the specified Map.
|
Document |
Driver.newDocument(Object bean)
Returns a new instance of Document built from the specified Java bean.
|
Document |
Connection.newDocument(Object bean)
Returns a new instance of Document built from the specified Java bean.
|
Document |
Driver.newDocument(String documentJson)
Returns a new instance of OJAI Document parsed from the specified JSON string.
|
Document |
Connection.newDocument(String jsonString)
Returns a new instance of OJAI Document parsed from the specified JSON string.
|
Copyright © 2015–2018 MapR Technologies, Inc.. All rights reserved.