def get_parts(str)
      operator, montage_operator = get_query_operator(str)

      fail QueryError, "Invalid Montage query operator!" unless montage_operator

      column_name = get_column_name(str, operator)

      fail QueryError, "Your query has an undetermined error" unless column_name

      value = parse_part(parse_condition_set(str, operator))

      [column_name, montage_operator, value]
    end
def get_parts(str)
      operator, montage_operator = get_query_operator(str)

      fail QueryError, "Invalid Montage query operator!" unless montage_operator

      column_name = get_column_name(str, operator)

      fail QueryError, "Your query has an undetermined error" unless column_name

      value = parse_part(parse_condition_set(str, operator))

      [column_name, montage_operator, value]
    end
Get all the parts of the query string

 * *Args* :
   - +str+ -> The query string
 * *Returns* :
   - An array containing the column name, the montage operator, and the
     value for comparison.
 * *Raises* :
   - +QueryError+ -> When incomplete queries or queries without valid
     operators are initialized
 * *Examples* :
    @part = "tree_happiness_level > 9"
    get_parts(@part)
    => ["tree_happiness_level", "$gt", 9]