@Test public void limit_returnsNotNullValue() { OrderByImpl orderBy = new OrderByImpl(new String[] {"a"}, mock(SqlPart.class)); Limit result = orderBy.limit(5); assertThat(result, is(notNullValue())); }
@Override public Limit limit(final long limit) { return new LimitImpl(limit, this); }
OrderByImpl extends BaseFinishedSelectStatement implements OrderBy { @Override public Limit limit(final long limit) { return new LimitImpl(limit, this); } }
OrderByImpl extends BaseFinishedSelectStatement implements OrderBy { @Override public Limit limit(final long limit) { return new LimitImpl(limit, this); } OrderByImpl(@NotNull final String[] terms, @NotNull final SqlPart previous); }
OrderByImpl extends BaseFinishedSelectStatement implements OrderBy { @Override public Limit limit(final long limit) { return new LimitImpl(limit, this); } OrderByImpl(@NotNull final String[] terms, @NotNull final SqlPart previous); @Override Limit limit(final long limit); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); }
OrderByImpl extends BaseFinishedSelectStatement implements OrderBy { @Override public Limit limit(final long limit) { return new LimitImpl(limit, this); } OrderByImpl(@NotNull final String[] terms, @NotNull final SqlPart previous); @Override Limit limit(final long limit); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }