Package com.mapr.kafka.eventstreams.impl
Class MessageStore
- java.lang.Object
-
- com.mapr.kafka.eventstreams.impl.MessageStore
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.ojai.store.DocumentStore
public class MessageStore extends java.lang.Object implements org.ojai.store.DocumentStore
-
-
Constructor Summary
Constructors Constructor Description MessageStore(java.lang.String streamPathInMapRFS, org.apache.hadoop.conf.Configuration conf, java.lang.String... topics)MessageStore(java.lang.String streamPathInMapRFS, org.apache.hadoop.conf.Configuration conf, java.util.regex.Pattern topicRegex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginTrackingWrites()voidbeginTrackingWrites(java.lang.String previousContext)booleancheckAndDelete(java.lang.String _id, org.ojai.store.QueryCondition condition)booleancheckAndDelete(org.ojai.Value _id, org.ojai.store.QueryCondition condition)booleancheckAndMutate(java.lang.String _id, org.ojai.store.QueryCondition condition, org.ojai.store.DocumentMutation mutation)booleancheckAndMutate(org.ojai.Value _id, org.ojai.store.QueryCondition condition, org.ojai.store.DocumentMutation m)booleancheckAndReplace(java.lang.String _id, org.ojai.store.QueryCondition condition, org.ojai.Document doc)booleancheckAndReplace(org.ojai.Value _id, org.ojai.store.QueryCondition condition, org.ojai.Document doc)voidclearTrackedWrites()voidclose()voiddelete(java.lang.String _id)voiddelete(org.ojai.Document doc)voiddelete(org.ojai.Document doc, java.lang.String fieldAsKey)voiddelete(org.ojai.Document doc, org.ojai.FieldPath fieldAsKey)voiddelete(org.ojai.DocumentStream stream)voiddelete(org.ojai.DocumentStream stream, java.lang.String fieldAsKey)voiddelete(org.ojai.DocumentStream stream, org.ojai.FieldPath fieldAsKey)voiddelete(org.ojai.Value _id)java.lang.StringendTrackingWrites()org.ojai.DocumentStreamfind()org.ojai.DocumentStreamfind(java.lang.String... paths)org.ojai.DocumentStreamfind(org.ojai.FieldPath... paths)org.ojai.store.QueryResultfind(org.ojai.store.Query query)org.ojai.DocumentStreamfind(org.ojai.store.QueryCondition c)org.ojai.DocumentStreamfind(org.ojai.store.QueryCondition c, java.lang.String... paths)org.ojai.DocumentStreamfind(org.ojai.store.QueryCondition c, org.ojai.FieldPath... paths)org.ojai.DocumentfindById(java.lang.String _id)org.ojai.DocumentfindById(java.lang.String _id, java.lang.String... fieldPaths)org.ojai.DocumentfindById(java.lang.String _id, org.ojai.FieldPath... fieldPaths)org.ojai.DocumentfindById(java.lang.String _id, org.ojai.store.QueryCondition condition)org.ojai.DocumentfindById(java.lang.String _id, org.ojai.store.QueryCondition c, java.lang.String... fieldPaths)org.ojai.DocumentfindById(java.lang.String _id, org.ojai.store.QueryCondition condition, org.ojai.FieldPath... fieldPaths)org.ojai.DocumentfindById(org.ojai.Value _id)org.ojai.DocumentfindById(org.ojai.Value _id, java.lang.String... fieldPaths)org.ojai.DocumentfindById(org.ojai.Value _id, org.ojai.FieldPath... fieldPaths)org.ojai.DocumentfindById(org.ojai.Value _id, org.ojai.store.QueryCondition condition)org.ojai.DocumentfindById(org.ojai.Value _id, org.ojai.store.QueryCondition condition, java.lang.String... fieldPaths)org.ojai.DocumentfindById(org.ojai.Value _id, org.ojai.store.QueryCondition condition, org.ojai.FieldPath... fieldPaths)org.ojai.DocumentStreamfindQuery(java.lang.String queryJSON)org.ojai.DocumentStreamfindQuery(org.ojai.store.Query query)voidflush()intgetNumSplits()voidincrement(java.lang.String _id, java.lang.String field, byte inc)voidincrement(java.lang.String _id, java.lang.String field, double inc)voidincrement(java.lang.String _id, java.lang.String field, float inc)voidincrement(java.lang.String _id, java.lang.String field, int inc)voidincrement(java.lang.String _id, java.lang.String field, long inc)voidincrement(java.lang.String _id, java.lang.String field, short inc)voidincrement(java.lang.String _id, java.lang.String field, java.math.BigDecimal inc)voidincrement(org.ojai.Value _id, java.lang.String field, byte inc)voidincrement(org.ojai.Value _id, java.lang.String field, double inc)voidincrement(org.ojai.Value _id, java.lang.String field, float inc)voidincrement(org.ojai.Value _id, java.lang.String field, int inc)voidincrement(org.ojai.Value _id, java.lang.String field, long inc)voidincrement(org.ojai.Value _id, java.lang.String field, short inc)voidincrement(org.ojai.Value _id, java.lang.String field, java.math.BigDecimal inc)voidinsert(java.lang.String _id, org.ojai.Document doc)voidinsert(org.ojai.Document doc)voidinsert(org.ojai.Document doc, java.lang.String fieldAsKey)voidinsert(org.ojai.Document doc, org.ojai.FieldPath fieldAsKey)voidinsert(org.ojai.DocumentStream stream)voidinsert(org.ojai.DocumentStream stream, java.lang.String fieldAsKey)voidinsert(org.ojai.DocumentStream stream, org.ojai.FieldPath fieldAsKey)voidinsert(org.ojai.Value _id, org.ojai.Document doc)voidinsertOrReplace(java.lang.String _id, org.ojai.Document r)voidinsertOrReplace(org.ojai.Document doc)voidinsertOrReplace(org.ojai.Document doc, java.lang.String fieldAsKey)voidinsertOrReplace(org.ojai.Document doc, org.ojai.FieldPath fieldAsKey)voidinsertOrReplace(org.ojai.DocumentStream stream)voidinsertOrReplace(org.ojai.DocumentStream stream, java.lang.String fieldAsKey)voidinsertOrReplace(org.ojai.DocumentStream stream, org.ojai.FieldPath fieldAsKey)voidinsertOrReplace(org.ojai.Value _id, org.ojai.Document doc)booleanisReadOnly()voidreplace(java.lang.String _id, org.ojai.Document doc)voidreplace(org.ojai.Document doc)voidreplace(org.ojai.Document doc, java.lang.String fieldAsKey)voidreplace(org.ojai.Document doc, org.ojai.FieldPath fieldAsKey)voidreplace(org.ojai.DocumentStream stream)voidreplace(org.ojai.DocumentStream stream, java.lang.String fieldAsKey)voidreplace(org.ojai.DocumentStream stream, org.ojai.FieldPath fieldAsKey)voidreplace(org.ojai.Value _id, org.ojai.Document doc)voidupdate(java.lang.String _id, org.ojai.store.DocumentMutation mutation)voidupdate(org.ojai.Value _id, org.ojai.store.DocumentMutation m)
-
-
-
Constructor Detail
-
MessageStore
public MessageStore(java.lang.String streamPathInMapRFS, org.apache.hadoop.conf.Configuration conf, java.lang.String... topics) throws java.io.IOException- Throws:
java.io.IOException
-
MessageStore
public MessageStore(java.lang.String streamPathInMapRFS, org.apache.hadoop.conf.Configuration conf, java.util.regex.Pattern topicRegex) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
getNumSplits
public int getNumSplits()
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceorg.ojai.store.DocumentStore
-
flush
public void flush() throws org.ojai.store.exceptions.StoreException- Specified by:
flushin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
find
public org.ojai.DocumentStream find() throws org.ojai.store.exceptions.StoreException- Specified by:
findin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
find
public org.ojai.DocumentStream find(java.lang.String... paths) throws org.ojai.store.exceptions.StoreException- Specified by:
findin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
find
public org.ojai.DocumentStream find(org.ojai.FieldPath... paths) throws org.ojai.store.exceptions.StoreException- Specified by:
findin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
find
public org.ojai.DocumentStream find(org.ojai.store.QueryCondition c) throws org.ojai.store.exceptions.StoreException- Specified by:
findin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
find
public org.ojai.DocumentStream find(org.ojai.store.QueryCondition c, java.lang.String... paths) throws org.ojai.store.exceptions.StoreException- Specified by:
findin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
find
public org.ojai.DocumentStream find(org.ojai.store.QueryCondition c, org.ojai.FieldPath... paths) throws org.ojai.store.exceptions.StoreException- Specified by:
findin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
find
public org.ojai.store.QueryResult find(org.ojai.store.Query query) throws org.ojai.store.exceptions.StoreException- Specified by:
findin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findQuery
public org.ojai.DocumentStream findQuery(org.ojai.store.Query query) throws org.ojai.store.exceptions.StoreException- Specified by:
findQueryin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findQuery
public org.ojai.DocumentStream findQuery(java.lang.String queryJSON) throws org.ojai.store.exceptions.StoreException- Specified by:
findQueryin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
close
public void close() throws org.ojai.store.exceptions.StoreException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insertOrReplace
public void insertOrReplace(org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
insertOrReplacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insertOrReplace
public void insertOrReplace(org.ojai.Value _id, org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
insertOrReplacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insertOrReplace
public void insertOrReplace(org.ojai.Document doc, org.ojai.FieldPath fieldAsKey) throws org.ojai.store.exceptions.StoreException- Specified by:
insertOrReplacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insertOrReplace
public void insertOrReplace(org.ojai.Document doc, java.lang.String fieldAsKey) throws org.ojai.store.exceptions.StoreException- Specified by:
insertOrReplacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insertOrReplace
public void insertOrReplace(org.ojai.DocumentStream stream) throws org.ojai.store.exceptions.MultiOpException- Specified by:
insertOrReplacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
insertOrReplace
public void insertOrReplace(org.ojai.DocumentStream stream, org.ojai.FieldPath fieldAsKey) throws org.ojai.store.exceptions.MultiOpException- Specified by:
insertOrReplacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
insertOrReplace
public void insertOrReplace(org.ojai.DocumentStream stream, java.lang.String fieldAsKey) throws org.ojai.store.exceptions.MultiOpException- Specified by:
insertOrReplacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
update
public void update(org.ojai.Value _id, org.ojai.store.DocumentMutation m) throws org.ojai.store.exceptions.StoreException- Specified by:
updatein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
delete
public void delete(org.ojai.Value _id) throws org.ojai.store.exceptions.StoreException- Specified by:
deletein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
delete
public void delete(org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
deletein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
delete
public void delete(org.ojai.Document doc, org.ojai.FieldPath fieldAsKey) throws org.ojai.store.exceptions.StoreException- Specified by:
deletein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
delete
public void delete(org.ojai.Document doc, java.lang.String fieldAsKey) throws org.ojai.store.exceptions.StoreException- Specified by:
deletein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
delete
public void delete(org.ojai.DocumentStream stream) throws org.ojai.store.exceptions.MultiOpException- Specified by:
deletein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
delete
public void delete(org.ojai.DocumentStream stream, org.ojai.FieldPath fieldAsKey) throws org.ojai.store.exceptions.MultiOpException- Specified by:
deletein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
delete
public void delete(org.ojai.DocumentStream stream, java.lang.String fieldAsKey) throws org.ojai.store.exceptions.MultiOpException- Specified by:
deletein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
insert
public void insert(org.ojai.Value _id, org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
insertin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insert
public void insert(org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
insertin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insert
public void insert(org.ojai.Document doc, org.ojai.FieldPath fieldAsKey) throws org.ojai.store.exceptions.StoreException- Specified by:
insertin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insert
public void insert(org.ojai.Document doc, java.lang.String fieldAsKey) throws org.ojai.store.exceptions.StoreException- Specified by:
insertin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insert
public void insert(org.ojai.DocumentStream stream) throws org.ojai.store.exceptions.MultiOpException- Specified by:
insertin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
insert
public void insert(org.ojai.DocumentStream stream, org.ojai.FieldPath fieldAsKey) throws org.ojai.store.exceptions.MultiOpException- Specified by:
insertin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
insert
public void insert(org.ojai.DocumentStream stream, java.lang.String fieldAsKey) throws org.ojai.store.exceptions.MultiOpException- Specified by:
insertin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
replace
public void replace(org.ojai.Value _id, org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
replacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
replace
public void replace(org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
replacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
replace
public void replace(org.ojai.Document doc, org.ojai.FieldPath fieldAsKey) throws org.ojai.store.exceptions.StoreException- Specified by:
replacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
replace
public void replace(org.ojai.Document doc, java.lang.String fieldAsKey) throws org.ojai.store.exceptions.StoreException- Specified by:
replacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
replace
public void replace(org.ojai.DocumentStream stream) throws org.ojai.store.exceptions.MultiOpException- Specified by:
replacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
replace
public void replace(org.ojai.DocumentStream stream, org.ojai.FieldPath fieldAsKey) throws org.ojai.store.exceptions.MultiOpException- Specified by:
replacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
replace
public void replace(org.ojai.DocumentStream stream, java.lang.String fieldAsKey) throws org.ojai.store.exceptions.MultiOpException- Specified by:
replacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.MultiOpException
-
increment
public void increment(org.ojai.Value _id, java.lang.String field, byte inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(org.ojai.Value _id, java.lang.String field, short inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(org.ojai.Value _id, java.lang.String field, int inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(org.ojai.Value _id, java.lang.String field, long inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(org.ojai.Value _id, java.lang.String field, float inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(org.ojai.Value _id, java.lang.String field, double inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(org.ojai.Value _id, java.lang.String field, java.math.BigDecimal inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
checkAndMutate
public boolean checkAndMutate(org.ojai.Value _id, org.ojai.store.QueryCondition condition, org.ojai.store.DocumentMutation m) throws org.ojai.store.exceptions.StoreException- Specified by:
checkAndMutatein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
checkAndDelete
public boolean checkAndDelete(org.ojai.Value _id, org.ojai.store.QueryCondition condition) throws org.ojai.store.exceptions.StoreException- Specified by:
checkAndDeletein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
checkAndReplace
public boolean checkAndReplace(org.ojai.Value _id, org.ojai.store.QueryCondition condition, org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
checkAndReplacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
endTrackingWrites
public java.lang.String endTrackingWrites() throws org.ojai.store.exceptions.StoreException- Specified by:
endTrackingWritesin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
beginTrackingWrites
public void beginTrackingWrites() throws org.ojai.store.exceptions.StoreException- Specified by:
beginTrackingWritesin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
beginTrackingWrites
public void beginTrackingWrites(java.lang.String previousContext) throws org.ojai.store.exceptions.StoreException- Specified by:
beginTrackingWritesin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
clearTrackedWrites
public void clearTrackedWrites() throws org.ojai.store.exceptions.StoreException- Specified by:
clearTrackedWritesin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insertOrReplace
public void insertOrReplace(java.lang.String _id, org.ojai.Document r) throws org.ojai.store.exceptions.StoreException- Specified by:
insertOrReplacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
update
public void update(java.lang.String _id, org.ojai.store.DocumentMutation mutation) throws org.ojai.store.exceptions.StoreException- Specified by:
updatein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
delete
public void delete(java.lang.String _id) throws org.ojai.store.exceptions.StoreException- Specified by:
deletein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
insert
public void insert(java.lang.String _id, org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
insertin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
replace
public void replace(java.lang.String _id, org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
replacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(java.lang.String _id, java.lang.String field, byte inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(java.lang.String _id, java.lang.String field, short inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(java.lang.String _id, java.lang.String field, int inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(java.lang.String _id, java.lang.String field, long inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(java.lang.String _id, java.lang.String field, float inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(java.lang.String _id, java.lang.String field, double inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
increment
public void increment(java.lang.String _id, java.lang.String field, java.math.BigDecimal inc) throws org.ojai.store.exceptions.StoreException- Specified by:
incrementin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
checkAndMutate
public boolean checkAndMutate(java.lang.String _id, org.ojai.store.QueryCondition condition, org.ojai.store.DocumentMutation mutation) throws org.ojai.store.exceptions.StoreException- Specified by:
checkAndMutatein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
checkAndDelete
public boolean checkAndDelete(java.lang.String _id, org.ojai.store.QueryCondition condition) throws org.ojai.store.exceptions.StoreException- Specified by:
checkAndDeletein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
checkAndReplace
public boolean checkAndReplace(java.lang.String _id, org.ojai.store.QueryCondition condition, org.ojai.Document doc) throws org.ojai.store.exceptions.StoreException- Specified by:
checkAndReplacein interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(java.lang.String _id) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(org.ojai.Value _id) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(java.lang.String _id, java.lang.String... fieldPaths) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(java.lang.String _id, org.ojai.FieldPath... fieldPaths) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(org.ojai.Value _id, java.lang.String... fieldPaths) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(org.ojai.Value _id, org.ojai.FieldPath... fieldPaths) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(java.lang.String _id, org.ojai.store.QueryCondition condition) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(org.ojai.Value _id, org.ojai.store.QueryCondition condition) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(java.lang.String _id, org.ojai.store.QueryCondition c, java.lang.String... fieldPaths) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(java.lang.String _id, org.ojai.store.QueryCondition condition, org.ojai.FieldPath... fieldPaths) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(org.ojai.Value _id, org.ojai.store.QueryCondition condition, java.lang.String... fieldPaths) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
findById
public org.ojai.Document findById(org.ojai.Value _id, org.ojai.store.QueryCondition condition, org.ojai.FieldPath... fieldPaths) throws org.ojai.store.exceptions.StoreException- Specified by:
findByIdin interfaceorg.ojai.store.DocumentStore- Throws:
org.ojai.store.exceptions.StoreException
-
-