Module spring.data.cassandra
Interface Columns.Selector
- All Known Implementing Classes:
Columns.ColumnSelector,Columns.FunctionCall
- Enclosing class:
- Columns
public static interface Columns.Selector
Strategy interface to render a column or function selection.
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionas(com.datastax.oss.driver.api.core.CqlIdentifier alias) Apply the givenaliasto the currentColumns.Selectorexpression.default Columns.SelectorApply the givenaliasto the currentColumns.Selectorexpression.Optional<com.datastax.oss.driver.api.core.CqlIdentifier>getAlias()
-
Method Details
-
as
Apply the givenaliasto the currentColumns.Selectorexpression.- Parameters:
alias-- Returns:
- the aliased
Selectorexpression. - Since:
- 4.5
-
as
Apply the givenaliasto the currentColumns.Selectorexpression.- Parameters:
alias-- Returns:
- the aliased
Selectorexpression. - Since:
- 4.5
-
getExpression
String getExpression() -
getAlias
Optional<com.datastax.oss.driver.api.core.CqlIdentifier> getAlias()
-