Sha256: b14400957911f7ff44a952488b5c0b3127d15230b9c6f02eafeb57b43271fb12
Contents?: true
Size: 619 Bytes
Versions: 26
Compression:
Stored size: 619 Bytes
Contents
# Base class for handling expression resolution class Sparkql::ExpressionResolver # 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. VALID_RESULTS = [true, false, :drop] # Evaluate the result of this expression. Allows for any of the values in # VALID_RESULTS def resolve(expression) true end end
Version data entries
26 entries across 26 versions & 1 rubygems