public interface CellBaseDBAdaptor<T> extends Iterable<T>
Modifier and Type | Method and Description |
---|---|
default CellBaseDataResult<Long> |
count() |
CellBaseDataResult<Long> |
count(org.opencb.commons.datastore.core.Query query) |
CellBaseDataResult<String> |
distinct(org.opencb.commons.datastore.core.Query query,
String field) |
default CellBaseDataResult<String> |
distinct(String field) |
default void |
forEach(Consumer action) |
void |
forEach(org.opencb.commons.datastore.core.Query query,
Consumer<? super Object> action,
org.opencb.commons.datastore.core.QueryOptions options) |
default List<CellBaseDataResult<T>> |
get(List<org.opencb.commons.datastore.core.Query> queries,
org.opencb.commons.datastore.core.QueryOptions options) |
CellBaseDataResult<T> |
get(org.opencb.commons.datastore.core.Query query,
org.opencb.commons.datastore.core.QueryOptions options) |
CellBaseDataResult |
groupBy(org.opencb.commons.datastore.core.Query query,
List<String> fields,
org.opencb.commons.datastore.core.QueryOptions options) |
CellBaseDataResult |
groupBy(org.opencb.commons.datastore.core.Query query,
String field,
org.opencb.commons.datastore.core.QueryOptions options) |
default Iterator<T> |
iterator() |
Iterator<T> |
iterator(org.opencb.commons.datastore.core.Query query,
org.opencb.commons.datastore.core.QueryOptions options) |
default List<CellBaseDataResult> |
nativeGet(List<org.opencb.commons.datastore.core.Query> queries,
org.opencb.commons.datastore.core.QueryOptions options) |
CellBaseDataResult |
nativeGet(org.opencb.commons.datastore.core.Query query,
org.opencb.commons.datastore.core.QueryOptions options) |
default Iterator |
nativeIterator() |
Iterator |
nativeIterator(org.opencb.commons.datastore.core.Query query,
org.opencb.commons.datastore.core.QueryOptions options) |
CellBaseDataResult |
rank(org.opencb.commons.datastore.core.Query query,
String field,
int numResults,
boolean asc) |
default CellBaseDataResult |
stats() |
CellBaseDataResult |
stats(org.opencb.commons.datastore.core.Query query) |
CellBaseDataResult<Long> |
update(List objectList,
String field,
String[] innerFields) |
spliterator
CellBaseDataResult<Long> update(List objectList, String field, String[] innerFields)
default CellBaseDataResult<Long> count()
CellBaseDataResult<Long> count(org.opencb.commons.datastore.core.Query query)
default CellBaseDataResult<String> distinct(String field)
CellBaseDataResult<String> distinct(org.opencb.commons.datastore.core.Query query, String field)
default CellBaseDataResult stats()
CellBaseDataResult stats(org.opencb.commons.datastore.core.Query query)
CellBaseDataResult<T> get(org.opencb.commons.datastore.core.Query query, org.opencb.commons.datastore.core.QueryOptions options)
default List<CellBaseDataResult<T>> get(List<org.opencb.commons.datastore.core.Query> queries, org.opencb.commons.datastore.core.QueryOptions options)
CellBaseDataResult nativeGet(org.opencb.commons.datastore.core.Query query, org.opencb.commons.datastore.core.QueryOptions options)
default List<CellBaseDataResult> nativeGet(List<org.opencb.commons.datastore.core.Query> queries, org.opencb.commons.datastore.core.QueryOptions options)
default Iterator nativeIterator()
Iterator<T> iterator(org.opencb.commons.datastore.core.Query query, org.opencb.commons.datastore.core.QueryOptions options)
Iterator nativeIterator(org.opencb.commons.datastore.core.Query query, org.opencb.commons.datastore.core.QueryOptions options)
CellBaseDataResult rank(org.opencb.commons.datastore.core.Query query, String field, int numResults, boolean asc)
CellBaseDataResult groupBy(org.opencb.commons.datastore.core.Query query, String field, org.opencb.commons.datastore.core.QueryOptions options)
CellBaseDataResult groupBy(org.opencb.commons.datastore.core.Query query, List<String> fields, org.opencb.commons.datastore.core.QueryOptions options)
Copyright © 2019. All rights reserved.