org.apache.hadoop.hive.ql.parse
Class SplitSample
java.lang.Object
org.apache.hadoop.hive.ql.parse.SplitSample
- All Implemented Interfaces:
- Serializable
public class SplitSample
- extends Object
- implements Serializable
This class stores all the information specified in the TABLESAMPLE(PERCENT ...) clause.
e.g. for the clause "FROM t TABLESAMPLE(1 PERCENT) it will store the percentage 1,
and the seed number is to determine which 1%. Currently it is from the conf
hive.sample.seednumber
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SplitSample
public SplitSample()
SplitSample
public SplitSample(double percent,
int seedNum)
getPercent
public double getPercent()
setPercent
public void setPercent(double percent)
getSeedNum
public int getSeedNum()
setSeedNum
public void setSeedNum(int seedNum)
Copyright © 2013 The Apache Software Foundation