TaggedItemIndex

com.netflix.atlas.core.index.TaggedItemIndex
See theTaggedItemIndex companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class Builder(size: Int)

Builder for creating an index. The builder should be used in a particular order. A first pass over the tags is needed to compute a table of strings. A subsequent pass is needed to build up the actual index. Steps:

Builder for creating an index. The builder should be used in a particular order. A first pass over the tags is needed to compute a table of strings. A subsequent pass is needed to build up the actual index. Steps:

  1. Call addStrings for each tag key/value pair for all items.
  2. Call createStringTable to build the string tables.
  3. Call addTag for each tag key/value pair for all items.
  4. Call build to create the final index.

Value parameters

size

Number of items that will be in the index.

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(items: Seq[_ <: TaggedItem]): TaggedItemIndex

Create an index from the provided sequence. The items should already be in the desired order for receiving results.

Create an index from the provided sequence. The items should already be in the desired order for receiving results.

Attributes