DefaultDocumentMapperSelectBuilder extends AbstractMapperQuery implements DocumentMapperFrom, DocumentMapperLimit,
        DocumentMapperSkip, DocumentMapperOrder, DocumentMapperNameCondition,
        DocumentMapperNotCondition, DocumentMapperNameOrder, DocumentMapperWhere { @Override public DocumentQuery build() { return new ArtemisDocumentQuery(sorts, limit, start, condition, documentCollection); } DefaultDocumentMapperSelectBuilder(ClassMapping mapping, Converters converters); @Override DocumentMapperNameCondition and(String name); @Override DocumentMapperNameCondition or(String name); @Override DocumentMapperNameCondition where(String name); @Override DocumentMapperSkip skip(long start); @Override DocumentMapperLimit limit(long limit); @Override DocumentMapperOrder orderBy(String name); @Override DocumentMapperNotCondition not(); @Override DocumentMapperWhere eq(T value); @Override DocumentMapperWhere like(String value); @Override DocumentMapperWhere gt(T value); @Override DocumentMapperWhere gte(T value); @Override DocumentMapperWhere lt(T value); @Override DocumentMapperWhere lte(T value); @Override DocumentMapperWhere between(T valueA, T valueB); @Override DocumentMapperWhere in(Iterable<T> values); @Override DocumentMapperNameOrder asc(); @Override DocumentMapperNameOrder desc(); @Override DocumentQuery build(); @Override List<T> execute(DocumentTemplate template); @Override Optional<T> executeSingle(DocumentTemplate template); @Override void execute(DocumentTemplateAsync template, Consumer<List<T>> callback); @Override void executeSingle(DocumentTemplateAsync template, Consumer<Optional<T>> callback);  }
@Test public void shouldReturnSelectStarFrom() { DocumentMapperFrom documentFrom = mapperBuilder.selectFrom(Person.class); DocumentQuery query = documentFrom.build(); DocumentQuery queryExpected = select().from("Person").build(); assertEquals(queryExpected, query); }