public static class BaasQuery.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
NO_SKIP |
Modifier and Type | Method and Description |
---|---|
BaasQuery.Builder |
and(java.lang.String where) |
BaasQuery |
build() |
BaasQuery.Builder |
clearPagination() |
BaasQuery.Builder |
collection(java.lang.String collection) |
BaasQuery.Criteria |
criteria() |
BaasQuery.Builder |
files() |
BaasQuery.Builder |
followers() |
BaasQuery.Builder |
followers(java.lang.String userId) |
BaasQuery.Builder |
groupBy(java.lang.String groupBy) |
BaasQuery.Builder |
or(java.lang.String where) |
BaasQuery.Builder |
orderBy(java.lang.String sortOrder) |
BaasQuery.Builder |
pagination(int page,
int records) |
BaasQuery.Builder |
projection(java.lang.String... fields) |
BaasQuery.Builder |
skip(int skip) |
BaasQuery.Builder |
users() |
BaasQuery.Builder |
where(java.lang.String where) |
BaasQuery.Builder |
whereParams(java.lang.Object... params) |
public static final int NO_SKIP
public BaasQuery build()
public BaasQuery.Criteria criteria()
public BaasQuery.Builder users()
public BaasQuery.Builder files()
public BaasQuery.Builder followers()
public BaasQuery.Builder followers(java.lang.String userId)
public BaasQuery.Builder collection(java.lang.String collection)
public BaasQuery.Builder where(java.lang.String where)
public BaasQuery.Builder and(java.lang.String where)
public BaasQuery.Builder or(java.lang.String where)
public BaasQuery.Builder projection(java.lang.String... fields)
public BaasQuery.Builder orderBy(java.lang.String sortOrder)
public BaasQuery.Builder whereParams(java.lang.Object... params)
public BaasQuery.Builder clearPagination()
public BaasQuery.Builder skip(int skip)
public BaasQuery.Builder pagination(int page, int records)
public BaasQuery.Builder groupBy(java.lang.String groupBy)