DATACASS-656 - Polishing.
Move to Driver's CqlIdentifier in Javadoc. Original pull request: #167.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user