Skip to content

Commit 98d0b75

Browse files
committed
Small update shardKey javadoc.
1 parent fcce407 commit 98d0b75

File tree

1 file changed

+3
-2
lines changed
  • src/main/java/com/oracle/nosql/spring/data/core/mapping

1 file changed

+3
-2
lines changed

src/main/java/com/oracle/nosql/spring/data/core/mapping/NosqlKey.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@
5151
ElementType.METHOD})
5252
public @interface NosqlKey {
5353
/**
54-
* Specifies whether the field comprises the shard key or not. Default value
54+
* Specifies whether the field is part of the shard key or not. Default value
5555
* is {@link com.oracle.nosql.spring.data.Constants#NOTSET_SHARD_KEY}.
56-
*
56+
* Shard keys affect distribution of rows across shards and atomicity of
57+
* operations on a single shard.
5758
* @since 1.6.0
5859
*/
5960
boolean shardKey() default NOTSET_SHARD_KEY;

0 commit comments

Comments
 (0)