class Sparkql::ExpressionResolver

Base class for handling expression resolution

Constants

VALID_RESULTS

Accepted results from the resolve method:

  • true and false reflect the expression's boolean result (as all expressions should).

  • :drop is a special symbol indicating that the expression should be omitted from the filter. Special rules apply for a dropped expression, such as keeping the conjunction of the dropped expression.

Public Instance Methods

resolve(expression) click to toggle source

Evaluate the result of this expression. Allows for any of the values in VALID_RESULTS

# File lib/sparkql/expression_resolver.rb, line 14
def resolve(expression)
  true
end