Search in sources :

Example 6 with Query

use of io.mantisrx.mql.jvm.core.Query in project mantis by Netflix.

the class MQLQueryManager method registerQuery.

public void registerQuery(String id, String query) {
    query = MQL.transformLegacyQuery(query);
    Query q = MQL.makeQuery(id, query);
    queries.put(id, q);
}
Also used : Query(io.mantisrx.mql.jvm.core.Query)

Aggregations

Query (io.mantisrx.mql.jvm.core.Query)6 Metrics (io.mantisrx.common.metrics.Metrics)3 ArrayList (java.util.ArrayList)3 Map (java.util.Map)3 Counter (io.mantisrx.common.metrics.Counter)1 MetricGroupId (io.mantisrx.common.metrics.spectator.MetricGroupId)1 Clojure (io.mantisrx.mql.shaded.clojure.java.api.Clojure)1 IFn (io.mantisrx.mql.shaded.clojure.lang.IFn)1 TaggedData (io.mantisrx.sourcejob.kafka.core.TaggedData)1 TaggedData (io.mantisrx.sourcejob.synthetic.core.TaggedData)1 ByteBuf (io.netty.buffer.ByteBuf)1 WriteBufferWaterMark (io.netty.channel.WriteBufferWaterMark)1 InetSocketAddress (java.net.InetSocketAddress)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 List (java.util.List)1 AtomicLong (java.util.concurrent.atomic.AtomicLong)1 Function (java.util.function.Function)1 HttpServerRequest (mantis.io.reactivex.netty.protocol.http.server.HttpServerRequest)1 HttpServerResponse (mantis.io.reactivex.netty.protocol.http.server.HttpServerResponse)1