@Test public void testGetOffset() { StatementBuilder statementBuilder = new StatementBuilder().offset(1); assertEquals(1, statementBuilder.getOffset().intValue()); statementBuilder.offset(100); assertEquals(100, statementBuilder.getOffset().intValue()); }
public Integer getOffset() { return queryBuilder.getOffset(); }
StatementBuilder { public Integer getOffset() { return queryBuilder.getOffset(); } }
StatementBuilder { public Integer getOffset() { return queryBuilder.getOffset(); } StatementBuilder(); @VisibleForTesting  StatementBuilder(QueryBuilderInterface<Value> queryBuilder); }
StatementBuilder { public Integer getOffset() { return queryBuilder.getOffset(); } StatementBuilder(); @VisibleForTesting  StatementBuilder(QueryBuilderInterface<Value> queryBuilder); StatementBuilder withBindVariableValue(String key, Object value); StatementBuilder withBindVariableValue(String key, Value value); Statement toStatement(); StatementBuilder select(String columns); StatementBuilder from(String table); StatementBuilder where(String conditions); StatementBuilder limit(Integer count); StatementBuilder offset(Integer count); StatementBuilder increaseOffsetBy(Integer amount); Integer getOffset(); StatementBuilder removeLimitAndOffset(); StatementBuilder orderBy(String orderBy); Map<String, Value> getBindVariableMap(); String buildQuery(); }
StatementBuilder { public Integer getOffset() { return queryBuilder.getOffset(); } StatementBuilder(); @VisibleForTesting  StatementBuilder(QueryBuilderInterface<Value> queryBuilder); StatementBuilder withBindVariableValue(String key, Object value); StatementBuilder withBindVariableValue(String key, Value value); Statement toStatement(); StatementBuilder select(String columns); StatementBuilder from(String table); StatementBuilder where(String conditions); StatementBuilder limit(Integer count); StatementBuilder offset(Integer count); StatementBuilder increaseOffsetBy(Integer amount); Integer getOffset(); StatementBuilder removeLimitAndOffset(); StatementBuilder orderBy(String orderBy); Map<String, Value> getBindVariableMap(); String buildQuery(); static final int SUGGESTED_PAGE_LIMIT; }