|
18 | 18 | import com.ing.data.cassandra.jdbc.CassandraConnection;
|
19 | 19 |
|
20 | 20 | /**
|
21 |
| - * Option Set for compliance mode. |
| 21 | + * Option set for compliance mode. |
22 | 22 | * Different use cases require one or more adjustments to the wrapper, to be compatible.
|
23 |
| - * Thus, OptionSet would provide convenience to set for different flavours. |
24 |
| - * |
| 23 | + * Thus, {@code OptionSet} would provide convenience to set for different flavours (for example Liquibase expect some |
| 24 | + * methods return values different of the JDBC standard implementation). |
25 | 25 | */
|
26 | 26 | public interface OptionSet {
|
27 | 27 | /**
|
28 |
| - * There is no Catalog concept in cassandra. Different flavour requires different response. |
| 28 | + * There is no catalog concept in Cassandra. Different flavour requires different response. |
29 | 29 | *
|
30 |
| - * @return Catalog |
| 30 | + * @return The current catalog name or {@code null} if there is none. |
31 | 31 | */
|
32 | 32 | String getCatalog();
|
33 | 33 |
|
34 | 34 | /**
|
35 |
| - * There is no updateCount available in Datastax Java driver, different flavour requires different response. |
| 35 | + * There is no {@code updateCount} available in Datastax Java driver, different flavour requires different response. |
36 | 36 | *
|
37 |
| - * @return Predefined update response |
| 37 | + * @return A predefined update response. |
38 | 38 | */
|
39 | 39 | int getSQLUpdateResponse();
|
40 | 40 |
|
41 | 41 | /**
|
42 |
| - * Set referenced connection. See @{@link AbstractOptionSet} |
43 |
| - * @param connection Connection to set |
| 42 | + * Set referenced connection. See @{@link AbstractOptionSet}. |
| 43 | + * @param connection Connection to set. |
44 | 44 | */
|
45 | 45 | void setConnection(CassandraConnection connection);
|
46 | 46 |
|
47 | 47 | /**
|
48 |
| - * Get referenced connection. See @{@link AbstractOptionSet} |
| 48 | + * Get referenced connection. See @{@link AbstractOptionSet}. |
49 | 49 | *
|
50 |
| - * @return referenced connection |
| 50 | + * @return the referenced connection. |
51 | 51 | */
|
52 | 52 | CassandraConnection getConnection();
|
53 | 53 | }
|
0 commit comments