@Override public CreateKeyspaceSpecification with(KeyspaceOption option) { return super.with(option); }
@Override public CreateKeyspaceSpecification with(KeyspaceOption option, Object value) { return super.with(option, value); }
@Override public CreateKeyspaceSpecification with(String name, @Nullable Object value, boolean escape, boolean quote) { return super.with(name, value, escape, quote); } }
/** * Convenience method that calls {@code with(option, null)}. * * @return this */ public T with(KeyspaceOption option) { return with(option.getName(), null, option.escapesValue(), option.quotesValue()); }
/** * Sets the given table option. This is a convenience method that calls * {@link #with(String, Object, boolean, boolean)} appropriately from the given {@link KeyspaceOption} and value for * that option. * * @param option The option to set. * @param value The value of the option. Must be type-compatible with the {@link KeyspaceOption}. * @return this * @see #with(String, Object, boolean, boolean) */ public T with(KeyspaceOption option, Object value) { option.checkValue(value); return with(option.getName(), value, option.escapesValue(), option.quotesValue()); }