| Modifier and Type | Field and Description |
|---|---|
| protected FilterParams |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public STMT_T | bind(String
argument name argName, Object object to bind value)Overrides default com. Bind the named argument to the given value. |
| public STMT_T | clearBindings()
Overrides default com. Clear all bindings for this statement. |
| public boolean | |
| public STMT_T | Returns: this statementmaximum rows to process numberOfRows)Add row limit to this statement. |
| public STMT_T | Returns: this statementnumber of rows to skip limitOffset)Add maximum number of rows to skip before find others. |
| public STMT_T | |
| public STMT_T | |
| public STMT_T |
| filterParams | back to summary |
|---|---|
| protected FilterParams filterParams | |
| FilterableStatement | back to summary |
|---|---|
| public FilterableStatement(FilterParams filterParams) Constructor.
| |
| bind | back to summary |
|---|---|
| public STMT_T bind(String argName, Object value) Overrides default com. Doc from com. Bind the named argument to the given value.
| |
| clearBindings | back to summary |
|---|---|
| public STMT_T clearBindings() Overrides default com. Doc from com. Clear all bindings for this statement.
| |
| isRelational | back to summary |
|---|---|
| public boolean isRelational() Are relational columns identifiers allowed in this statement?
| |
| limit | back to summary |
|---|---|
| public STMT_T limit(long numberOfRows) Add row limit to this statement. For example, to find only 3 rows:
docs = this.collection.find().orderBy("$._id").limit(3).execute();
| |
| offset | back to summary |
|---|---|
| public STMT_T offset(long limitOffset) Add maximum number of rows to skip before find others. For example, to skip 2 rows:
docs = this.collection.find().orderBy("$._id").offset(2).execute();
| |
| orderBy | back to summary |
|---|---|
| public STMT_T orderBy(String... sortFields) Add sort expressions to this statement.
DocResult docs = this.collection.find().orderBy("$._id").execute();
docs = this.collection.find().sort("$.x", "$.y").execute();
| |
| sort | back to summary |
|---|---|
| public STMT_T sort(String... sortFields) Add sort expressions to this statement. Synonym to
DocResult docs = this.collection.find().orderBy("$._id").execute();
docs = this.collection.find().sort("$.x", "$.y").execute();
| |
| where | back to summary |
|---|---|
| public STMT_T where(String searchCondition) Add search condition to this statement.
table.delete().where("age == 13").execute();
| |