DATACASS-656 - Polishing.

Move to Driver's CqlIdentifier in Javadoc.

Original pull request: #167.
This commit is contained in:
Mark Paluch
2019-12-11 15:59:17 +01:00
parent 7e5455ce03
commit 3bf86dd0b1
9 changed files with 10 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ public interface ExecutableDeleteOperation {
* @param table {@link CqlIdentifier name} of the table; must not be {@literal null}.
* @return new instance of {@link DeleteWithQuery}.
* @throws IllegalArgumentException if {@link CqlIdentifier table} is {@literal null}.
* @see org.springframework.data.cassandra.core.cql.CqlIdentifier
* @see com.datastax.oss.driver.api.core.CqlIdentifier
* @see DeleteWithQuery
*/
DeleteWithQuery inTable(CqlIdentifier table);

View File

@@ -81,7 +81,7 @@ public interface ExecutableInsertOperation {
* @param table {@link CqlIdentifier name} of the table; must not be {@literal null}.
* @return new instance of {@link InsertWithOptions}.
* @throws IllegalArgumentException if {@link CqlIdentifier table} is {@literal null}.
* @see org.springframework.data.cassandra.core.cql.CqlIdentifier
* @see com.datastax.oss.driver.api.core.CqlIdentifier
* @see InsertWithOptions
*/
InsertWithOptions<T> inTable(CqlIdentifier table);

View File

@@ -97,7 +97,7 @@ public interface ExecutableSelectOperation {
* @param table {@link CqlIdentifier name} of the table; must not be {@literal null}.
* @return new instance of {@link SelectWithProjection}.
* @throws IllegalArgumentException if {@link CqlIdentifier table} is {@literal null}.
* @see org.springframework.data.cassandra.core.cql.CqlIdentifier
* @see com.datastax.oss.driver.api.core.CqlIdentifier
* @see SelectWithProjection
*/
SelectWithProjection<T> inTable(CqlIdentifier table);

View File

@@ -90,7 +90,7 @@ public interface ExecutableUpdateOperation {
* @param table {@link CqlIdentifier name} of the table; must not be {@literal null}.
* @return new instance of {@link UpdateWithQuery}.
* @throws IllegalArgumentException if {@link CqlIdentifier table} is {@literal null}.
* @see org.springframework.data.cassandra.core.cql.CqlIdentifier
* @see com.datastax.oss.driver.api.core.CqlIdentifier
* @see UpdateWithQuery
*/
UpdateWithQuery inTable(CqlIdentifier table);

View File

@@ -88,7 +88,7 @@ public interface ReactiveDeleteOperation {
* @param table {@link CqlIdentifier name} of the table; must not be {@literal null}.
* @return new instance of {@link DeleteWithQuery}.
* @throws IllegalArgumentException if {@link CqlIdentifier table} is {@literal null}.
* @see org.springframework.data.cassandra.core.cql.CqlIdentifier
* @see com.datastax.oss.driver.api.core.CqlIdentifier
* @see DeleteWithQuery
*/
DeleteWithQuery inTable(CqlIdentifier table);

View File

@@ -85,7 +85,7 @@ public interface ReactiveInsertOperation {
* @param table {@link String name} of the table; must not be {@literal null}.
* @return new instance of {@link InsertWithOptions}.
* @throws IllegalArgumentException if {@link CqlIdentifier table} is {@literal null}.
* @see org.springframework.data.cassandra.core.cql.CqlIdentifier
* @see com.datastax.oss.driver.api.core.CqlIdentifier
* @see InsertWithOptions
*/
InsertWithOptions<T> inTable(CqlIdentifier table);

View File

@@ -95,7 +95,7 @@ public interface ReactiveSelectOperation {
* @param table {@link CqlIdentifier name} of the table; must not be {@literal null}.
* @return new instance of {@link SelectWithProjection}.
* @throws IllegalArgumentException if {@link CqlIdentifier table} is {@literal null}.
* @see org.springframework.data.cassandra.core.cql.CqlIdentifier
* @see com.datastax.oss.driver.api.core.CqlIdentifier
* @see SelectWithProjection
*/
SelectWithProjection<T> inTable(CqlIdentifier table);

View File

@@ -93,7 +93,7 @@ public interface ReactiveUpdateOperation {
* @param table {@link CqlIdentifier name} of the table; must not be {@literal null}.
* @return new instance of {@link UpdateWithQuery}.
* @throws IllegalArgumentException if {@link CqlIdentifier table} is {@literal null}.
* @see org.springframework.data.cassandra.core.cql.CqlIdentifier
* @see com.datastax.oss.driver.api.core.CqlIdentifier
* @see UpdateWithQuery
*/
UpdateWithQuery inTable(CqlIdentifier table);

View File

@@ -17,8 +17,6 @@ package org.springframework.data.cassandra.core.mapping;
import java.util.Comparator;
import org.springframework.data.cassandra.core.cql.CqlIdentifier;
/**
* {@link Comparator} implementation that orders {@link CassandraPersistentProperty} instances.
* <p>
@@ -27,7 +25,8 @@ import org.springframework.data.cassandra.core.cql.CqlIdentifier;
* <li>Composite primary keys first (equal if both {@link CassandraPersistentProperty} are a composite primary key)</li>
* <li>Primary key columns (see {@link CassandraPrimaryKeyColumnAnnotationComparator}, compare by ordinal/name/ordering)
* </li>
* <li>Regular columns, compared by column name (see {@link CqlIdentifier#compareTo(CqlIdentifier)})</li>
* <li>Regular columns, compared by column name (see
* {@link com.datastax.oss.driver.api.core.CqlIdentifier#compareTo(CqlIdentifier)})</li>
* </ul>
*
* @author Alex Shvid