Class VisibilityMetric
- java.lang.Object
-
- org.apache.accumulo.core.file.rfile.VisibilityMetric
-
public class VisibilityMetric extends Object
Class that holds the components of a visibility metric. The String visibility, the number of times that is seen in a locality group, the percentage of keys that contain that visibility in the locality group, the number of blocks in the locality group that contain the visibility, and the percentage of blocks in the locality group that contain the visibility.
-
-
Constructor Summary
Constructors Constructor Description VisibilityMetric(String visibility, long visLG, double visLGPer, long visBlock, double visBlockPer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getVisBlock()
double
getVisBlockPer()
String
getVisibility()
long
getVisLG()
double
getVisLGPer()
-
-
-
Constructor Detail
-
VisibilityMetric
public VisibilityMetric(String visibility, long visLG, double visLGPer, long visBlock, double visBlockPer)
-
-
Method Detail
-
getVisibility
public String getVisibility()
- Returns:
- the visibility
-
getVisLG
public long getVisLG()
- Returns:
- the visLG
-
getVisBlock
public long getVisBlock()
- Returns:
- the visBlock
-
getVisLGPer
public double getVisLGPer()
- Returns:
- the visLGPer
-
getVisBlockPer
public double getVisBlockPer()
- Returns:
- the visBlockPer
-
-