@Test public void testDefaultTimestamp() throws Exception { statement.setDefaultTimestamp(999L); assertEquals(999L, statement.getDefaultTimestamp()); StatementOptionsBuilder.defaultTimestamp(12345L).build().applyTo(statement); assertEquals(12345L, statement.getDefaultTimestamp()); }
public static StatementOptionsBuilder defaultTimestamp(long timestamp) { return new StatementOptionsBuilder().withDefaultTimestamp(timestamp); }
StatementOptionsBuilder { public static StatementOptionsBuilder defaultTimestamp(long timestamp) { return new StatementOptionsBuilder().withDefaultTimestamp(timestamp); } }
StatementOptionsBuilder { public static StatementOptionsBuilder defaultTimestamp(long timestamp) { return new StatementOptionsBuilder().withDefaultTimestamp(timestamp); } StatementOptionsBuilder(); }
StatementOptionsBuilder { public static StatementOptionsBuilder defaultTimestamp(long timestamp) { return new StatementOptionsBuilder().withDefaultTimestamp(timestamp); } StatementOptionsBuilder(); static StatementOptionsBuilder consistencyLevel(ConsistencyLevel level); static StatementOptionsBuilder defaultTimestamp(long timestamp); static StatementOptionsBuilder disableTracing(); static StatementOptions empty(); static StatementOptionsBuilder enableTracing(); static StatementOptionsBuilder fetchSize(int size); static StatementOptionsBuilder retryPolicy(RetryPolicy policy); static StatementOptionsBuilder serialConsistencyLevel(ConsistencyLevel level); StatementOptions build(); StatementOptionsBuilder withConsistencyLevel(ConsistencyLevel level); }
StatementOptionsBuilder { public static StatementOptionsBuilder defaultTimestamp(long timestamp) { return new StatementOptionsBuilder().withDefaultTimestamp(timestamp); } StatementOptionsBuilder(); static StatementOptionsBuilder consistencyLevel(ConsistencyLevel level); static StatementOptionsBuilder defaultTimestamp(long timestamp); static StatementOptionsBuilder disableTracing(); static StatementOptions empty(); static StatementOptionsBuilder enableTracing(); static StatementOptionsBuilder fetchSize(int size); static StatementOptionsBuilder retryPolicy(RetryPolicy policy); static StatementOptionsBuilder serialConsistencyLevel(ConsistencyLevel level); StatementOptions build(); StatementOptionsBuilder withConsistencyLevel(ConsistencyLevel level);  }