Attributes
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait KeyValueQuerytrait KeyQuerytrait Querytrait Exprtrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait KeyValueQuerytrait KeyQuerytrait Querytrait Exprtrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait KeyValueQuerytrait KeyQuerytrait Querytrait Exprtrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait KeyValueQuerytrait KeyQuerytrait Querytrait Exprtrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class HasKeytrait KeyValueQueryclass Equalclass GreaterThanclass GreaterThanEqualclass Inclass LessThanclass LessThanEqualtrait PatternQueryclass Regexclass RegexIgnoreCaseShow all
Attributes
- Supertypes
- Known subtypes
-
class Equalclass GreaterThanclass GreaterThanEqualclass Inclass LessThanclass LessThanEqualtrait PatternQueryclass Regexclass RegexIgnoreCaseShow all
Attributes
- Supertypes
-
trait Serializabletrait KeyValueQuerytrait KeyQuerytrait Querytrait Exprtrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait KeyValueQuerytrait KeyQuerytrait Querytrait Exprtrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait KeyValueQuerytrait KeyQuerytrait Querytrait Exprtrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class Regexclass RegexIgnoreCase
Attributes
- Supertypes
-
trait Serializabletrait PatternQuerytrait KeyValueQuerytrait KeyQuerytrait Querytrait Exprtrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait PatternQuerytrait KeyValueQuerytrait KeyQuerytrait Querytrait Exprtrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Return the set of keys referenced by in the query.
Return the set of keys referenced by in the query.
Attributes
Converts the input query into conjunctive normal form.
Converts the input query into conjunctive normal form.
Attributes
Converts the input query into a list of sub-queries that should be ANDd together.
Converts the input query into a list of sub-queries that should be ANDd together.
Attributes
Converts the input query into disjunctive normal form.
Converts the input query into disjunctive normal form.
Attributes
Converts the input query into a list of sub-queries that should be ORd together.
Converts the input query into a list of sub-queries that should be ORd together.
Attributes
Return the set of keys explicitly referenced in the query. This can be useful for assisting with automatic legends.
Return the set of keys explicitly referenced in the query. This can be useful for assisting with automatic legends.
Attributes
Split :in queries into a list of queries using :eq. The query should be normalized ahead of time so it is a string of conjunctions. See dnfList
for more information.
Split :in queries into a list of queries using :eq. The query should be normalized ahead of time so it is a string of conjunctions. See dnfList
for more information.
In order to avoid a massive combinatorial explosion clauses that have more than limit
expressions will not be expanded. The default limit is 5. It is somewhat arbitrary, but seems to work well in practice for the current query data sets at Netflix.
Attributes
Simplify a query expression that contains True and False constants.
Simplify a query expression that contains True and False constants.
Value parameters
- ignore
-
If true, then the simplification is for the purposes of ignoring certain query terms. This comes up in some automatic rewriting use-cases where we need to have a restriction clause based on a subset of the keys and ignore the rest. Consider the following example:
nf.app,www,:eq,name,http.requests,:eq,:and,status,200,:eq,:not,:and,:sum
Lets suppose I want to simplify this to a base query for the common tags that could be reused with other metrics. One way would be to rewrite all key query clauses that are not using common tags (prefixed with nf.) to
Query.True
and simplify. However the not clause causes a problem:rewrite - nf.app,www,:eq,:true,:and,:true,:not,:and simplification 1 - nf.app,www.:eq,:false,:and simplification 2 - :false
The ignore mode will cause
:true,:not
to map to:true
so the term will get ignored rather than reduce the entire expression to:false
. Default value is false. - query
-
Query expression to simplify.
Attributes
- Returns
-
The simplified query expression.