public final class Stats extends Object
Modifier and Type | Field and Description |
---|---|
TokenIntMap |
cats
Categories.
|
int |
count
Number of occurrences.
|
double |
max
Maximum value.
|
double |
min
Minimum value.
|
StatsType |
type
Data type.
|
Constructor and Description |
---|
Stats()
Default constructor.
|
Stats(DataInput in)
Constructor, specifying an input stream.
|
public TokenIntMap cats
public StatsType type
public double min
public double max
public int count
public Stats()
public Stats(DataInput in) throws IOException
in
- input streamIOException
- I/O exceptionpublic boolean isLeaf()
public void setLeaf(boolean l)
l
- leaf or notpublic void write(DataOutput out) throws IOException
out
- output streamIOException
- I/O exceptionpublic void add(byte[] value, MetaData meta)
value
- value to be addedmeta
- meta dataCopyright © 2005–2015 BaseX Team. All rights reserved.