Class Columns.ColumnSelector
java.lang.Object
org.springframework.data.cassandra.core.query.Columns.ColumnSelector
- All Implemented Interfaces:
Columns.Selector
- Enclosing class:
- Columns
Column selection.
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionas
(com.datastax.oss.driver.api.core.CqlIdentifier alias) boolean
static Columns.ColumnSelector
from
(com.datastax.oss.driver.api.core.CqlIdentifier columnName) Create aColumns.ColumnSelector
givenCqlIdentifier
.static Columns.ColumnSelector
Create aColumns.ColumnSelector
given a plaincolumnName
.static Columns.ColumnSelector
from
(ColumnName columnName) Create aColumns.ColumnSelector
givenColumnName
.Optional<com.datastax.oss.driver.api.core.CqlIdentifier>
getAlias()
int
hashCode()
toString()
-
Method Details
-
from
Create aColumns.ColumnSelector
givenColumnName
. -
from
public static Columns.ColumnSelector from(com.datastax.oss.driver.api.core.CqlIdentifier columnName) Create aColumns.ColumnSelector
givenCqlIdentifier
. -
from
Create aColumns.ColumnSelector
given a plaincolumnName
. -
as
- Parameters:
alias
- must not be null or empty.- Returns:
- the aliased
Columns.ColumnSelector
.
-
as
- Parameters:
alias
- must not be null.- Returns:
- the aliased
Columns.ColumnSelector
.
-
getAlias
- Specified by:
getAlias
in interfaceColumns.Selector
-
getExpression
- Specified by:
getExpression
in interfaceColumns.Selector
-
toString
-
equals
-
hashCode
public int hashCode()
-