Package | Description |
---|---|
org.ojai.base | |
org.ojai.json | |
org.ojai.store | |
org.ojai.store.base | |
org.ojai.util |
Modifier and Type | Class and Description |
---|---|
class |
DocumentStreamBase
Abstract implementation of DocumentStream.
|
class |
QueryResultBase |
Modifier and Type | Method and Description |
---|---|
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) |
static DocumentStream |
Json.newDocumentStream(InputStream in)
Returns a new instance of JSON DocumentStream from the specified InputStream.
|
static DocumentStream |
Json.newDocumentStream(InputStream in,
Events.Delegate eventDelegate) |
static DocumentStream |
Json.newDocumentStream(InputStream in,
Map<FieldPath,Value.Type> fieldPathTypeMap)
Returns a new instance of s JSON DocumentStream from the specified InputStream
using the FieldPath => Type mapping to decode the JSON tokens from the stream.
|
Modifier and Type | Interface and Description |
---|---|
interface |
QueryResult |
Modifier and Type | Method and Description |
---|---|
DocumentStream |
DocumentStore.find()
Executes a query to return all Documents in the DocumentStore.
|
DocumentStream |
DocumentStore.find(FieldPath... fieldPaths)
Deprecated.
|
DocumentStream |
DocumentStore.find(QueryCondition condition)
Deprecated.
|
DocumentStream |
DocumentStore.find(QueryCondition condition,
FieldPath... fieldPaths)
Deprecated.
|
DocumentStream |
DocumentStore.find(QueryCondition condition,
String... fieldPaths)
Deprecated.
|
DocumentStream |
DocumentStore.find(String... fieldPaths)
Deprecated.
|
DocumentStream |
DocumentStore.findQuery(Query query)
Deprecated.
|
DocumentStream |
DocumentStore.findQuery(String queryJSON)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DocumentStore.delete(DocumentStream stream)
Deletes a set of documents from the DocumentStore represented by the DocumentStream.
|
void |
DocumentStore.delete(DocumentStream stream,
FieldPath fieldAsKey) |
void |
DocumentStore.delete(DocumentStream stream,
String fieldAsKey) |
void |
DocumentStore.insert(DocumentStream stream)
Inserts a set of documents represented by the DocumentStream into the DocumentStore.
|
void |
DocumentStore.insert(DocumentStream stream,
FieldPath fieldAsKey) |
void |
DocumentStore.insert(DocumentStream stream,
String fieldAsKey) |
void |
DocumentStore.insertOrReplace(DocumentStream stream)
Inserts all documents from the specified DocumentStream into this DocumentStore.
|
void |
DocumentStore.insertOrReplace(DocumentStream stream,
FieldPath fieldAsKey)
Inserts all documents from the specified DocumentStream into this DocumentStore
using the field specified by parameter
fieldAsKey as the "_id" field. |
void |
DocumentStore.insertOrReplace(DocumentStream stream,
String fieldAsKey)
Inserts all documents from the specified DocumentStream into this DocumentStore
using the field specified by parameter
fieldAsKey as the "_id" field. |
void |
DocumentStore.replace(DocumentStream stream)
Replaces a set of documents represented by the DocumentStream into the DocumentStore.
|
void |
DocumentStore.replace(DocumentStream stream,
FieldPath fieldAsKey) |
void |
DocumentStore.replace(DocumentStream stream,
String fieldAsKey) |
Modifier and Type | Method and Description |
---|---|
DocumentStream |
ForwardingStore.find() |
DocumentStream |
ForwardingStore.find(FieldPath... paths) |
DocumentStream |
ForwardingStore.find(QueryCondition c) |
DocumentStream |
ForwardingStore.find(QueryCondition c,
FieldPath... paths) |
DocumentStream |
ForwardingStore.find(QueryCondition c,
String... paths) |
DocumentStream |
ForwardingStore.find(String... paths) |
DocumentStream |
ForwardingStore.findQuery(Query query) |
DocumentStream |
ForwardingStore.findQuery(String queryJSON) |
Modifier and Type | Method and Description |
---|---|
void |
ForwardingStore.delete(DocumentStream rs) |
void |
ForwardingStore.delete(DocumentStream rs,
FieldPath fieldAsKey) |
void |
ForwardingStore.delete(DocumentStream rs,
String fieldAsKey) |
void |
ForwardingStore.insert(DocumentStream rs) |
void |
ForwardingStore.insert(DocumentStream rs,
FieldPath fieldAsKey) |
void |
ForwardingStore.insert(DocumentStream rs,
String fieldAsKey) |
void |
ForwardingStore.insertOrReplace(DocumentStream rs) |
void |
ForwardingStore.insertOrReplace(DocumentStream rs,
FieldPath fieldAsKey) |
void |
ForwardingStore.insertOrReplace(DocumentStream rs,
String fieldAsKey) |
void |
ForwardingStore.replace(DocumentStream rs) |
void |
ForwardingStore.replace(DocumentStream rs,
FieldPath fieldAsKey) |
void |
ForwardingStore.replace(DocumentStream rs,
String fieldAsKey) |
Modifier and Type | Class and Description |
---|---|
class |
EmptyDocumentStream
A DocumentStream that returns no documents.
|
class |
EmptyQueryResult
A QueryResult that returns no documents.
|
Copyright © 2015–2019 MapR Technologies, Inc.. All rights reserved.