public class Sample extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
moduloNum |
protected Dimension |
sampleDimension |
protected int |
sampleFraction |
protected int |
sampleNum |
Constructor and Description |
---|
Sample(int num,
int fraction,
Dimension d) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Dimension |
getSampleDimension() |
int |
getSampleFraction() |
int |
getSampleNum() |
int |
hashCode() |
boolean |
inSample(Object o)
Given an arbitrary object, determine if it falls within this sample.
|
String |
toString() |
protected int sampleNum
protected int sampleFraction
protected Dimension sampleDimension
protected int moduloNum
public Sample(int num, int fraction, Dimension d) throws HiveException
HiveException
Copyright © 2017 The Apache Software Foundation. All rights reserved.