public class SquareRootConverter extends AbstractJepConversionFunction<Node>
SquareRoot
function
to a Query API Expression
.Constructor and Description |
---|
SquareRootConverter() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get a short description of the function or operator
|
String |
getName()
Get the name of the function or the symbol of the operator
|
boolean |
isFunction()
If this converter is a built-in function.
|
Expression |
toExpression(Node node)
Convert to expression by calling
Expressions.sqrt(Expression) . |
isOperator, toRestriction
public boolean isFunction()
JepConversionFunction
Jep.getFunctions()
.isFunction
in interface JepConversionFunction<Node>
isFunction
in class AbstractJepConversionFunction<Node>
public String getName()
JepConversionFunction
getName
in interface JepConversionFunction<Node>
getName
in class AbstractJepConversionFunction<Node>
public String getDescription()
JepConversionFunction
getDescription
in interface JepConversionFunction<Node>
getDescription
in class AbstractJepConversionFunction<Node>
public Expression toExpression(Node node)
Expressions.sqrt(Expression)
.toExpression
in interface JepConversionFunction<Node>
toExpression
in class AbstractJepConversionFunction<Node>
node
- The object to convert