|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Expression
The interface corresponding to SQL expressions.
| Method Summary | |
|---|---|
boolean |
appliesTo(Schema sch)
Determines if all of the fields mentioned in this expression are contained in the specified schema. |
Constant |
asConstant()
Returns the constant corresponding to a constant expression. |
String |
asFieldName()
Returns the field name corresponding to a constant expression. |
Constant |
evaluate(Scan s)
Evaluates the expression with respect to the current record of the specified scan. |
boolean |
isConstant()
Returns true if the expression is a constant. |
boolean |
isFieldName()
Returns true if the expression is a field reference. |
| Method Detail |
|---|
boolean isConstant()
boolean isFieldName()
Constant asConstant()
String asFieldName()
Constant evaluate(Scan s)
s - the scan
boolean appliesTo(Schema sch)
sch - the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||