KeyQuery

com.netflix.atlas.core.model.Query.KeyQuery
sealed trait KeyQuery extends Query

Attributes

Graph
Supertypes
trait Query
trait Expr
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class HasKey
class Equal
class GreaterThan
class In
class LessThan
trait PatternQuery
class Regex
Show all

Members list

Value members

Abstract methods

def k: String

Inherited methods

def and(query: Query): Query

Attributes

Inherited from:
Query
def exprString: String

Returns a string that can be executed with the stack interpreter to create this expression.

Returns a string that can be executed with the stack interpreter to create this expression.

Attributes

Inherited from:
Expr
def not: Query

Attributes

Inherited from:
Query
def or(query: Query): Query

Attributes

Inherited from:
Query
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product
def rewrite(f: PartialFunction[Expr, Expr]): Expr

Rewrite the expression using the specified function. The default implementation will try to recursively apply the rewrite to case classes.

Rewrite the expression using the specified function. The default implementation will try to recursively apply the rewrite to case classes.

Attributes

Inherited from:
Expr

Inherited and Abstract methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def couldMatch(tags: Map[String, String]): Boolean

Returns true if the query expression could match if additional tags were added. Typically used for doing some initial filtering based on a partial list of common tags.

Returns true if the query expression could match if additional tags were added. Typically used for doing some initial filtering based on a partial list of common tags.

Attributes

Inherited from:
Query
def labelString: String

Returns a string that summarizes the query expression in a human readable format.

Returns a string that summarizes the query expression in a human readable format.

Attributes

Inherited from:
Query
def matches(tags: Map[String, String]): Boolean

Returns true if the query expression matches the tags.

Returns true if the query expression matches the tags.

Attributes

Inherited from:
Query
def matchesAny(tags: Map[String, List[String]]): Boolean

Returns true if the query matches for any of the items in the list.

Returns true if the query matches for any of the items in the list.

Attributes

Inherited from:
Query
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Inherited fields

override val hashCode: Int

Hash code is cached to allow cheaper lookup during evaluation. This implementation in the base interface depends on the main fields of the case class being set prior to super() being called in the case class constructor. That appears to be the case with current scala versions.

Hash code is cached to allow cheaper lookup during evaluation. This implementation in the base interface depends on the main fields of the case class being set prior to super() being called in the case class constructor. That appears to be the case with current scala versions.

Attributes

Inherited from:
Query