Or

com.netflix.atlas.core.model.Query.Or
case class Or(q1: Query, q2: Query) extends Query

Attributes

Graph
Supertypes
trait Serializable
trait Query
trait Expr
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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

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

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

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

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

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 productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

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 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