public interface Expression
Modifier and Type | Method and Description |
---|---|
Type |
getType(TableModel tableModel)
Returns the result type of the expression, evaluated against a given TableModel
|
boolean |
isConstant()
Returns whether the expression result has a constant value, it means, does not depend on any tuple field
values.
|
boolean |
isNullable()
Returns whether the result of the expression can be null.
|
String |
toString()
This method should be used for debug purposes, and it should show the complete nesting
of the expressions
|
Type getType(TableModel tableModel)
tableModel
- TableModel to be evaluatedNotCompatibleTableModelException
- If the expression is not evaluable in the provided tableModelboolean isConstant()
boolean isNullable()
Copyright © 2020. All rights reserved.