| Package | Description |
|---|---|
| com.mapr.db | |
| com.mapr.db.impl |
This package is not part of MapR-DB public APIs
|
| Modifier and Type | Method and Description |
|---|---|
Condition |
Condition.and()
Begins a new AND compound condition block.
|
Condition |
Condition.build()
Closes all nested compound condition blocks.
|
Condition |
Condition.close()
Closes a compound condition block.
|
Condition |
Condition.condition(Condition conditionToAdd)
Appends the specified condition to the current condition
block.
|
Condition |
Condition.equals(org.ojai.FieldPath path,
List<? extends Object> value)
Adds a condition that tests if the
Value at the specified
FieldPath equals the specified List value. |
Condition |
Condition.equals(org.ojai.FieldPath path,
Map<String,? extends Object> value)
Adds a condition that tests if the
Value at the specified
FieldPath equals the specified Map value. |
Condition |
Condition.equals(String path,
List<? extends Object> value)
Adds a condition that tests if the
Value at the specified
FieldPath equals the specified List value. |
Condition |
Condition.equals(String path,
Map<String,? extends Object> value)
Adds a condition that tests if the
Value at the specified
FieldPath equals the specified Map value. |
Condition |
Condition.exists(org.ojai.FieldPath path)
Adds a condition that tests for existence of the specified
FieldPath. |
Condition |
Condition.exists(String path)
Adds a condition that tests for existence of the specified
FieldPath. |
Condition |
TabletInfo.getCondition() |
Condition |
Condition.in(org.ojai.FieldPath path,
List<? extends Object> listOfValue)
Adds a condition that tests if the
Value at the specified
FieldPath is equal to at least one of the values in the
specified List. |
Condition |
Condition.in(String path,
List<? extends Object> listOfValue)
Adds a condition that tests if the
Value at the specified
FieldPath is equal to at least one of the values in the
specified List. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
BigDecimal value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified BigDecimal value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
boolean value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified boolean value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
byte value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified byte value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
ByteBuffer value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified ByteBuffer value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
Date value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified Date value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
double value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified double value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
float value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified float value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
int value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified int value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
org.ojai.types.Interval value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified Interval value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
long value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified long value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
short value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified short value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
String value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified String value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
Time value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified Time value. |
Condition |
Condition.is(org.ojai.FieldPath path,
Condition.Op op,
Timestamp value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified Timestamp value. |
Condition |
Condition.is(String path,
Condition.Op op,
BigDecimal value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified BigDecimal value. |
Condition |
Condition.is(String path,
Condition.Op op,
boolean value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified boolean value. |
Condition |
Condition.is(String path,
Condition.Op op,
byte value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified byte value. |
Condition |
Condition.is(String path,
Condition.Op op,
ByteBuffer value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified ByteBuffer value. |
Condition |
Condition.is(String path,
Condition.Op op,
Date value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified Date value. |
Condition |
Condition.is(String path,
Condition.Op op,
double value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified double value. |
Condition |
Condition.is(String path,
Condition.Op op,
float value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified float value. |
Condition |
Condition.is(String path,
Condition.Op op,
int value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified int value. |
Condition |
Condition.is(String path,
Condition.Op op,
org.ojai.types.Interval value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified Interval value. |
Condition |
Condition.is(String path,
Condition.Op op,
long value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified long value. |
Condition |
Condition.is(String path,
Condition.Op op,
short value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified short value. |
Condition |
Condition.is(String path,
Condition.Op op,
String value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified String value. |
Condition |
Condition.is(String path,
Condition.Op op,
Time value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified Time value. |
Condition |
Condition.is(String path,
Condition.Op op,
Timestamp value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given Condition.Op against
the specified Timestamp value. |
Condition |
Condition.matches(org.ojai.FieldPath path,
String regex)
Adds a condition that tests if the
Value at the specified
FieldPath is a String and matches the specified regular
expression. |
Condition |
Condition.matches(String path,
String regex)
Adds a condition that tests if the
Value at the specified
FieldPath is a String and matches the specified regular
expression. |
static Condition |
MapRDB.newCondition()
Creates and returns a new Condition object.
|
Condition |
Condition.notEquals(org.ojai.FieldPath path,
List<? extends Object> value)
Adds a condition that tests if the
Value at the specified
FieldPath does not equal the specified List value. |
Condition |
Condition.notEquals(org.ojai.FieldPath path,
Map<String,? extends Object> value)
Adds a condition that tests if the
Value at the specified
FieldPath does not equal the specified Map value. |
Condition |
Condition.notEquals(String path,
List<? extends Object> value)
Adds a condition that tests if the
Value at the specified
FieldPath does not equal the specified List value. |
Condition |
Condition.notEquals(String path,
Map<String,? extends Object> value)
Adds a condition that tests if the
Value at the specified
FieldPath does not equal the specified Map value. |
Condition |
Condition.notExists(org.ojai.FieldPath path)
Adds a condition that tests for non-existence of the specified
FieldPath. |
Condition |
Condition.notExists(String path)
Adds a condition that tests for non-existence of the specified
FieldPath. |
Condition |
Condition.notIn(org.ojai.FieldPath path,
List<? extends Object> listOfValue)
Adds a condition that tests if the
Value at the specified
FieldPath is not equal to any of the values in the
specified List. |
Condition |
Condition.notIn(String path,
List<? extends Object> listOfValue)
Adds a condition that tests if the
Value at the specified
FieldPath is not equal to any of the values in the
specified List. |
Condition |
Condition.notMatches(org.ojai.FieldPath path,
String regex)
Adds a condition that tests if the
Value at the specified
FieldPath is a String and does not match the specified
regular expression. |
Condition |
Condition.notMatches(String path,
String regex)
Adds a condition that tests if the
Value at the specified
FieldPath is a String and does not match the specified
regular expression. |
Condition |
Condition.notTypeOf(org.ojai.FieldPath path,
org.ojai.Value.Type type)
Adds a condition that tests if the
Value at the specified
FieldPath is not of the specified Type. |
Condition |
Condition.notTypeOf(String path,
org.ojai.Value.Type type)
Adds a condition that tests if the
Value at the specified
FieldPath is not of the specified Type. |
Condition |
Condition.or()
Begins a new OR compound condition block.
|
Condition |
Condition.typeOf(org.ojai.FieldPath path,
org.ojai.Value.Type type)
Adds a condition that tests if the
Value at the specified
FieldPath is of the specified Type. |
Condition |
Condition.typeOf(String path,
org.ojai.Value.Type type)
Adds a condition that tests if the
Value at the specified
FieldPath is of the specified Type. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Table.checkAndDelete(ByteBuffer id,
Condition condition) |
boolean |
Table.checkAndDelete(String id,
Condition condition)
Atomically evaluates the condition on given row and if the
condition holds true for the row then it is atomically deleted.
|
boolean |
Table.checkAndMutate(ByteBuffer id,
Condition condition,
Mutation m) |
boolean |
Table.checkAndMutate(String id,
Condition condition,
Mutation m)
Atomically evaluates the condition on a given row and if the
condition holds true for the row then a mutation is applied on the row.
|
boolean |
Table.checkAndReplace(ByteBuffer id,
Condition condition,
org.ojai.Document r) |
boolean |
Table.checkAndReplace(String id,
Condition condition,
org.ojai.Document r)
Atomically evaluates the condition on the given row and if the
condition holds true for the row then it atomically replaces the row
with the given document.
|
Condition |
Condition.condition(Condition conditionToAdd)
Appends the specified condition to the current condition
block.
|
org.ojai.DocumentStream<DBDocument> |
Table.find(Condition c)
Returns a document stream for all the rows in the table that match the
condition.
|
org.ojai.DocumentStream<DBDocument> |
Table.find(Condition c,
org.ojai.FieldPath... paths) |
org.ojai.DocumentStream<DBDocument> |
Table.find(Condition c,
String... paths)
Returns a document reader for all the rows in the table that match the
condition.
|
DBDocument |
Table.findById(ByteBuffer id,
Condition c) |
DBDocument |
Table.findById(ByteBuffer id,
Condition c,
org.ojai.FieldPath... paths) |
DBDocument |
Table.findById(ByteBuffer id,
Condition c,
String... paths) |
void |
Table.findById(OpListener listener,
ByteBuffer id,
Condition c) |
void |
Table.findById(OpListener listener,
ByteBuffer id,
Condition c,
org.ojai.FieldPath... paths) |
void |
Table.findById(OpListener listener,
ByteBuffer id,
Condition c,
String... paths) |
void |
Table.findById(OpListener listener,
String id,
Condition c)
Non-blocking read operation that gets called back on the listener object
on success or failure.
|
void |
Table.findById(OpListener listener,
String id,
Condition c,
org.ojai.FieldPath... paths) |
void |
Table.findById(OpListener listener,
String id,
Condition c,
String... paths) |
DBDocument |
Table.findById(String id,
Condition c)
Reads the row parts that match the condition and projects only the
field paths requested.
|
DBDocument |
Table.findById(String id,
Condition c,
org.ojai.FieldPath... paths) |
DBDocument |
Table.findById(String id,
Condition c,
String... paths) |
TabletInfo[] |
Table.getTabletInfos(Condition c) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConditionImpl
Do not instantiate this class directly, use the
Condition interface. |
| Modifier and Type | Field and Description |
|---|---|
static Condition |
Constants.ROW_EXISTS_CONDITION |
static Condition |
Constants.ROW_NOT_EXISTS_CONDITION |
| Modifier and Type | Method and Description |
|---|---|
Condition |
TabletInfoImpl.getCondition() |
Condition |
ConditionImpl.is(String path,
Condition.Op op,
boolean value) |
static Condition |
ConditionImpl.parseFrom(ByteBuffer buf)
Parses the serialized
Condition from the bytes in the specified ByteBuffer. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MapRDBTableImpl.checkAndDelete(ByteBuffer id,
Condition condition) |
boolean |
MapRDBTableImpl.checkAndDelete(String id,
Condition condition)
Atomically evaluates the condition on a given row and if the
condition holds true for the row then it is atomically deleted.
|
boolean |
MapRDBTableImpl.checkAndDelete(org.ojai.Value id,
Condition condition) |
boolean |
MapRDBTableImpl.checkAndMutate(ByteBuffer id,
Condition condition,
Mutation m) |
boolean |
MapRDBTableImpl.checkAndMutate(String id,
Condition condition,
Mutation m)
Atomically evaluates the condition on given row and if the
condition holds true for the row then mutation is applied on the row.
|
boolean |
MapRDBTableImpl.checkAndMutate(org.ojai.Value id,
Condition condition,
Mutation m) |
boolean |
MapRDBTableImpl.checkAndReplace(ByteBuffer id,
Condition condition,
org.ojai.Document r) |
boolean |
MapRDBTableImpl.checkAndReplace(String id,
Condition condition,
org.ojai.Document r)
Atomically evaluates the condition on a given row on the server and if the
condition holds true for the row then it atomically replaces the row
with the given record.
|
boolean |
MapRDBTableImpl.checkAndReplace(org.ojai.Value id,
Condition condition,
org.ojai.Document r) |
ConditionImpl |
ConditionImpl.condition(Condition conditionToAdd) |
static DBDocument |
MapRDBTableImplHelper.doGet(MapRDBTableImpl table,
ByteBuffer id,
Condition c,
boolean excludeId) |
static DBDocument |
MapRDBTableImplHelper.doGet(MapRDBTableImpl table,
ByteBuffer id,
Condition c,
boolean excludeId,
String... paths) |
org.ojai.DocumentStream<DBDocument> |
MapRDBTableImpl.find(Condition c)
Returns record stream for all the rows in the table that match the
condition.
|
org.ojai.DocumentStream<DBDocument> |
MapRDBTableImpl.find(Condition c,
org.ojai.FieldPath... fields) |
org.ojai.DocumentStream<DBDocument> |
MapRDBTableImpl.find(Condition c,
String... paths)
Returns record stream for all the rows in the table that match the
condition.
|
DBDocument |
MapRDBTableImpl.findById(ByteBuffer id,
Condition c) |
DBDocument |
MapRDBTableImpl.findById(ByteBuffer id,
Condition c,
org.ojai.FieldPath... fields) |
DBDocument |
MapRDBTableImpl.findById(ByteBuffer id,
Condition c,
String... paths) |
void |
MapRDBTableImpl.findById(OpListener listener,
ByteBuffer id,
Condition c) |
void |
MapRDBTableImpl.findById(OpListener listener,
ByteBuffer id,
Condition c,
org.ojai.FieldPath... fields) |
void |
MapRDBTableImpl.findById(OpListener listener,
ByteBuffer id,
Condition c,
String... paths) |
void |
MapRDBTableImpl.findById(OpListener listener,
String id,
Condition c) |
void |
MapRDBTableImpl.findById(OpListener listener,
String id,
Condition c,
org.ojai.FieldPath... fields) |
void |
MapRDBTableImpl.findById(OpListener listener,
String id,
Condition c,
String... paths) |
void |
MapRDBTableImpl.findById(OpListener listener,
org.ojai.Value id,
Condition c) |
void |
MapRDBTableImpl.findById(OpListener listener,
org.ojai.Value id,
Condition c,
org.ojai.FieldPath... fields) |
void |
MapRDBTableImpl.findById(OpListener listener,
org.ojai.Value id,
Condition c,
String... paths) |
DBDocument |
MapRDBTableImpl.findById(String id,
Condition c) |
DBDocument |
MapRDBTableImpl.findById(String id,
Condition c,
org.ojai.FieldPath... fields) |
DBDocument |
MapRDBTableImpl.findById(String id,
Condition c,
String... paths) |
DBDocument |
MapRDBTableImpl.findById(org.ojai.Value id,
Condition c) |
DBDocument |
MapRDBTableImpl.findById(org.ojai.Value id,
Condition c,
org.ojai.FieldPath... fields) |
DBDocument |
MapRDBTableImpl.findById(org.ojai.Value id,
Condition c,
String... paths) |
TabletInfo[] |
MapRDBTableImpl.getTabletInfos(Condition condition) |
static com.mapr.db.impl.MapRDBTableImplHelper.CondAndProjPaths |
MapRDBTableImplHelper.setPaths(Condition c,
String[] projPaths,
com.mapr.db.impl.MapRDBTableImplHelper.CondAndProjPaths ret) |
static com.mapr.fs.jni.MapRScan |
MapRDBTableImplHelper.toMapRScan(MapRDBTableImpl table,
Condition c,
String... paths) |
Copyright © 2015 Mapr Technologies, Inc.. All rights reserved.