@Beta public final class Point extends Object implements com.yahoo.jdisc.Metric.Context
Modifier and Type | Field and Description |
---|---|
private String[] |
dimensions |
private Value[] |
location |
private static Point |
theEmptyPoint |
Modifier | Constructor and Description |
---|---|
|
Point(Map<String,?> properties) |
(package private) |
Point(String[] dimensions,
Value[] location)
Only to be used by simplemetrics itself.
|
private |
Point(com.yahoo.collections.Tuple2<String[],Value[]> dimensionsAndLocation) |
Modifier and Type | Method and Description |
---|---|
private static com.yahoo.collections.Tuple2<String[],Value[]> |
buildParameters(Map<String,?> properties) |
int |
dimensionality()
Get the number of dimensions defined for this Point, i.e.
|
List<String> |
dimensions()
Get an immutable list view of the names of each dimension.
|
static Point |
emptyPoint()
the canonical 0-dimensional Point.
|
boolean |
equals(Object obj) |
(package private) String[] |
getDimensions()
package private accessor only for simplemetrics itself
|
(package private) Value[] |
getLocation()
package private accessor only for simplemetrics itself
|
int |
hashCode() |
List<Value> |
location()
Get an immutable list view of the values for each dimension.
|
String |
toString() |
private final Value[] location
private final String[] dimensions
private static final Point theEmptyPoint
public static Point emptyPoint()
private static com.yahoo.collections.Tuple2<String[],Value[]> buildParameters(Map<String,?> properties)
public List<String> dimensions()
public int dimensionality()
dimensions()
.String[] getDimensions()
Value[] getLocation()
Copyright © 2017. All rights reserved.