Class AliasedExpression
java.lang.Object
com.google.cloud.firestore.pipeline.expressions.AliasedExpression
- All Implemented Interfaces:
Selectable
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newAliasedExpressionthat wraps this expression and associates it with the given alias.getAlias()getExpr()
-
Method Details
-
getAlias
-
getExpr
-
as
Creates a newAliasedExpressionthat wraps this expression and associates it with the given alias.Aliases are useful for renaming fields in the output of a stage or for giving meaningful names to calculated values.
- Parameters:
alias- The alias to assign to this expression.- Returns:
- A new
Selectablethat wraps this expression and associates it with the provided alias.
-