@Test public void should_increment_id() throws Exception { assertThat(ids.next(), is(equalTo(1L))); assertThat(ids.next(), is(equalTo(2L))); assertThat(ids.next(), is(equalTo(3L))); }
@Override public Long next() { return range(1)[0]; }
CassandraIdSupplier implements IdSupplier<Long> { @Override public Long next() { return range(1)[0]; } }
CassandraIdSupplier implements IdSupplier<Long> { @Override public Long next() { return range(1)[0]; } CassandraIdSupplier(Session session, String keySpace); }
CassandraIdSupplier implements IdSupplier<Long> { @Override public Long next() { return range(1)[0]; } CassandraIdSupplier(Session session, String keySpace); @Override Long next(); }
CassandraIdSupplier implements IdSupplier<Long> { @Override public Long next() { return range(1)[0]; } CassandraIdSupplier(Session session, String keySpace); @Override Long next(); static final String COL_TYPE; static final String COL_NEXT_ID; }