public interface Expression
Modifier and Type | Method and Description |
---|---|
Constant |
asConstant()
Returns the constant corresponding to a constant expression.
|
String |
asFieldName()
Returns the field name corresponding to a field name expression.
|
Constant |
evaluate(Record rec)
Evaluates the expression with respect to the specified record.
|
boolean |
isApplicableTo(Schema sch)
Determines if all of the fields mentioned in this expression are
contained in the specified schema.
|
boolean |
isConstant()
Returns true if the expression is a constant.
|
boolean |
isFieldName()
Returns true if the expression is a field reference.
|
boolean isConstant()
boolean isFieldName()
Constant asConstant()
String asFieldName()
Constant evaluate(Record rec)
rec
- the recordboolean isApplicableTo(Schema sch)
sch
- the schemaCopyright © 2022 VanillaDB Organization. All rights reserved.