public class CastExpression extends Expression
type
Constructor and Description |
---|
CastExpression(Expression value,
com.yahoo.bullet.typesystem.Type castType)
Constructor that creates a cast expression.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Evaluator |
getEvaluator()
Gets a new instance of an evaluator for this expression.
|
int |
hashCode() |
String |
toString() |
public CastExpression(Expression value, com.yahoo.bullet.typesystem.Type castType)
value
- The non-null value to cast.castType
- The non-null cast type to cast the value to.public Evaluator getEvaluator()
Expression
getEvaluator
in class Expression
public boolean equals(Object obj)
equals
in class Expression
public int hashCode()
hashCode
in class Expression
public String toString()
toString
in class Expression
Copyright © 2021. All rights reserved.