public class MockQuery<Type> extends Query<Type>
Query.Operation<AllowedValueType>| Constructor and Description |
|---|
MockQuery() |
MockQuery(Collection<Type> data) |
MockQuery(Type... data) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Maybe<Type> |
find() |
Query<Type> |
limit(int limit) |
Query<Type> |
order(String field) |
io.reactivex.Single<QueryResult<Type>> |
query() |
Query<Type> |
skip(int skip) |
<AllowedValueType> |
with(String field,
Query.Operation<AllowedValueType> operation,
AllowedValueType value) |
public MockQuery()
public MockQuery(Type... data)
public MockQuery(Collection<Type> data)
public <AllowedValueType> Query<Type> with(String field, Query.Operation<AllowedValueType> operation, AllowedValueType value)
public io.reactivex.Single<QueryResult<Type>> query()
Copyright © 2019. All rights reserved.