Attributes
Members list
Type members
Classlikes
Provides an index-specific exception
Provides an index-specific exception
Value parameters
- err
-
Error message
Attributes
- Supertypes
-
trait Producttrait Equalsclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Factory method to create an index from a Vec of elements
Factory method to create an index from a Vec of elements
Type parameters
- C
-
Type of elements in Vec
Value parameters
- values
-
Vec
Attributes
Factory method to create an index from an array of elements
Factory method to create an index from an array of elements
Type parameters
- C
-
Type of elements in array
Value parameters
- arr
-
Array
Attributes
Factory method to create an index from a sequence of elements, eg
Factory method to create an index from a sequence of elements, eg
Index(1,2,3)
Index(IndexedSeq(1,2,3) : _*)
Type parameters
- C
-
Type of elements in Seq
Value parameters
- values
-
Seq[C]
Attributes
Factor method to create an empty Index
Factor method to create an empty Index
Type parameters
- C
-
type of Index
Attributes
Factory method to create an Index; the basic use case is to construct a multi-level index (i.e., an Index of Tuples) via a Tuple of Vecs.
Factory method to create an Index; the basic use case is to construct a multi-level index (i.e., an Index of Tuples) via a Tuple of Vecs.
For instance:
Index.make(vec.rand(10), vec.rand(10))
Type parameters
- I
-
The type of the values input
- O
-
The type of the elements of the result index
Value parameters
- ev
-
Implicit evidence of an IndexMaker that can utilize values
- values
-
Values from which to construct the index