Package com.sap.cds.ql
Interface SelectableValue
- All Superinterfaces:
CqnToken,CqnValue,JSONizable
- All Known Subinterfaces:
BooleanFunction,BooleanValue,ElementRef<T>,FunctionCall<T>,Literal<T>,NullValue,Parameter<T>,Predicate,Value<T>,WindowFunctionCall<T>
Represents a value that can be selected in a query.
-
Method Summary
Modifier and TypeMethodDescriptionAssigns an alias to this value under which this value can be referenced in the query result.Methods inherited from interface com.sap.cds.ql.cqn.CqnValue
as, asExpression, asFunction, asList, asLiteral, asNullValue, asParameter, asPlain, asRef, isExpression, isFunction, isList, isLiteral, isNullValue, isParameter, isPlain, isRef, ofLiteral, ofRef, typeMethods inherited from interface com.sap.cds.JSONizable
toJson
-
Method Details
-
as
Assigns an alias to this value under which this value can be referenced in the query result.- Parameters:
alias- the alias to assign- Returns:
- a
CqnSelectListValuewith the assigned alias
-