|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.service.jini.util.DumpFederation.SourceDetailRecord
public static class DumpFederation.SourceDetailRecord
A record detailing various things counted on a per-source basis.
| Field Summary | |
|---|---|
long |
entryCount
The sum of the entry count for each AbstractBTree in the
index partition view. |
long |
leafCount
The sum of the #of leaves in each AbstractBTree in the index
partition view. |
long |
nodeCount
The sum of the #of nodes in each AbstractBTree in the index
partition view. |
long |
segmentByteCount
The #of bytes across all IndexSegments in the view. |
long |
segmentLeafByteCount
The #of bytes in the leaf region of the IndexSegments in
the view. |
long |
segmentNodeByteCount
The #of bytes in the node region of the IndexSegments in
the view. |
| Constructor Summary | |
|---|---|
DumpFederation.SourceDetailRecord(DumpFederation.SourceDetailRecord[] a)
Ctor returns a record that contains the sum across the given array of record. |
|
DumpFederation.SourceDetailRecord(long entryCount,
long nodeCount,
long leafCount,
long segmentByteCount,
long segmentNodeByteCount,
long segmentLeafByteCount)
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final long entryCount
AbstractBTree in the
index partition view.
Note: This is computed from the IndexSegmentCheckpoint
without requiring us to open the IndexSegment itself, so it
can be significantly faster if the IndexSegment is trying to
fully buffer the nodes region of the file and will also impose less
of a memory burden since those node buffers will not be allocated in
response to this operation. The only drawback of the sum of the entry
counts is that it will overestimate the #of tuples in an index
partition after a split until the next compacting merge because
historical IndexSegments in the old view will be reused by
each of the view generated by the split until the next compacting
merge, move, or join.
Note: The exact range count is MUCH too expensive as it requires materializing every tuple in the index partition view!
public final long nodeCount
AbstractBTree in the index
partition view.
public final long leafCount
AbstractBTree in the index
partition view.
public final long segmentByteCount
IndexSegments in the view.
public final long segmentNodeByteCount
IndexSegments in
the view.
public final long segmentLeafByteCount
IndexSegments in
the view.
| Constructor Detail |
|---|
public DumpFederation.SourceDetailRecord(long entryCount,
long nodeCount,
long leafCount,
long segmentByteCount,
long segmentNodeByteCount,
long segmentLeafByteCount)
entryCount - segmentByteCount - segmentNodeByteCount - segmentLeafByteCount - public DumpFederation.SourceDetailRecord(DumpFederation.SourceDetailRecord[] a)
a - An array of records to be summed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||