All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.ditto.rql.parser.thingsearch.RqlOptionParser Maven / Gradle / Ivy

/*
 * Copyright (c) 2017 Contributors to the Eclipse Foundation
 *
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package org.eclipse.ditto.rql.parser.thingsearch;

import java.util.List;
import java.util.stream.Collectors;

import org.eclipse.ditto.rql.parser.thingsearch.internal.RqlOptionParser$;
import org.eclipse.ditto.thingsearch.model.Option;

/**
 * RQL Parser parsing options in the RQL "standard" according to https://github.com/persvr/rql.
 */
public final class RqlOptionParser implements OptionParser {

    /**
     * Delimiter between options in their string representation.
     */
    private static final String DELIMITER = ",";

    private static final OptionParser PARSER = RqlOptionParser$.MODULE$;

    @Override
    public List




© 2015 - 2025 Weber Informatics LLC | Privacy Policy