Class ParsedExpression

java.lang.Object
com.aerospike.dsl.ParsedExpression

@Beta public class ParsedExpression extends Object
A class to build and store the results of DSL expression parsing: parsed expressionTree, indexesMap of given indexes, placeholderValues to match with placeholders and ParseResult that holds a potential secondary index Filter and a potential Exp.
  • Constructor Details

  • Method Details

    • getResult

      public ParseResult getResult()
      Returns:
      ParseResult containing secondary index Filter and/or filter Exp. Each can be null in case of invalid or unsupported DSL string
      Throws:
      DslParseException - If there was an error
    • getResult

      public ParseResult getResult(PlaceholderValues placeholderValues)
      Traverse expression tree using the given placeholder values
      Parameters:
      placeholderValues - PlaceholderValues to match with placeholders by index
      Returns:
      ParseResult containing secondary index Filter and/or Exp. Each can be null in case of invalid or unsupported DSL string
      Throws:
      DslParseException - If there was an error