Package com.base2art.jeqll.projections

Examples of com.base2art.jeqll.projections.IntegerField


  @Test
  public void shouldLoadConvertable()
  {
    IQuery<TestObject> query = new IterableQuery<>(TestObjectRepository.createList(3), TestObject.class);
    IQuery<Integer> to = query.where(new EqualityMatcher<>("index", 2)).select(new IntegerField("index"));

    assertThat(query.toArray().length).isEqualTo(3);
    assertThat(query.toList().size()).isEqualTo(3);
    assertThat(to.toArray().length).isEqualTo(1);
    assertThat(to.toList().size()).isEqualTo(1);
View Full Code Here

TOP

Related Classes of com.base2art.jeqll.projections.IntegerField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.