Package | Description |
---|---|
org.ojai | |
org.ojai.exceptions | |
org.ojai.store | |
org.ojai.store.exceptions | |
org.ojai.util |
Modifier and Type | Method and Description |
---|---|
void |
DocumentStream.close()
Overridden to remove checked exception
|
Modifier and Type | Class and Description |
---|---|
class |
DecodingException
Exception thrown by implementations if a failure occurs during
deserialization of the document.
|
class |
EncodingException
Exception thrown by implementations if a failure occurs during
serialization of the document.
|
class |
ParseException |
class |
QueryTimeoutException
Exception thrown in the event of
Query timeout. |
class |
RangeException |
class |
StreamInUseException
Exception thrown by implementations when a
DocumentStream is
accessed in more than one way. |
class |
TypeException |
Modifier and Type | Method and Description |
---|---|
Connection |
Driver.connect(String url,
Document options)
Establishes and returns a Connection to an OJAI data source.
|
static Connection |
DriverManager.getConnection(String url)
Establishes and returns a Connection to an OJAI data source.
|
static Connection |
DriverManager.getConnection(String url,
Document options)
Establishes and returns a Connection to an OJAI data source.
|
static Driver |
DriverManager.getDriver(String url)
Discovers and loads the OJAI Driver implementation which supported the
specified URL.
|
DocumentStore |
Connection.getStore(String storeName)
Returns a handle to an OJAI DocumentStore specified by the given name
or path.
|
DocumentStore |
Connection.getStore(String storeName,
Document options)
Returns a handle to an OJAI DocumentStore specified by the given name
or path.
|
Query |
Query.where(QueryCondition condition)
Sets the filtering condition for the query.
|
Query |
Query.where(String conditionJson)
Sets the filtering condition for the query.
|
Modifier and Type | Class and Description |
---|---|
class |
DocumentExistsException
This exception is thrown if a Store operation fails if a Document already
existed when none was expected for the operation to succeed.
|
class |
DocumentNotFoundException
This exception is thrown if a Store operation fails if a Document, which
was expected to exist for the operation to succeed, could not be found.
|
class |
MultiOpException
This class is used to wrap an exception for stream processing that fails midway.
|
class |
StoreException
This class is the base class of all exceptions thrown from the
DocumentStore . |
Modifier and Type | Method and Description |
---|---|
void |
EmptyDocumentStream.close() |
Copyright © 2015–2018 MapR Technologies, Inc.. All rights reserved.