public class BaseIndexStats extends Object
Modifier and Type | Field and Description |
---|---|
int |
height
The height (aka depth) of the index
|
IndexTypeEnum |
indexType
The type of index.
|
int |
m
The current branching factor for the index.
|
String |
name
The name associated with the index -or-
null if the index is
not named. |
long |
nleaves
The #of leaves visited.
|
long |
nnodes
The #of nodes visited.
|
long |
ntuples
The #of entries in the index.
|
Constructor and Description |
---|
BaseIndexStats()
Zero-arg constructor does NOT initialize the fields.
|
BaseIndexStats(ICheckpointProtocol ndx)
Initializes the fields for the specified index.
|
Modifier and Type | Method and Description |
---|---|
String |
getDataRow()
Return a row of data for an index as aggregated by this
PageStats
object. |
String |
getHeaderRow()
Return the header row for a table.
|
static void |
writeOn(PrintWriter out,
Map<String,BaseIndexStats> statsMap)
Helper method may be used to write out a tab-delimited table of the
statistics.
|
public IndexTypeEnum indexType
public String name
null
if the index is
not named.public int m
PageStats
class.public long ntuples
public int height
public long nnodes
public long nleaves
public BaseIndexStats()
public BaseIndexStats(ICheckpointProtocol ndx)
public String getHeaderRow()
public String getDataRow()
PageStats
object.getHeaderRow()
public static void writeOn(PrintWriter out, Map<String,BaseIndexStats> statsMap)
out
- Where to write the statistics.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.