|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.resources.AbstractResult
com.bigdata.resources.BuildResult
public class BuildResult
The result of an CompactingMergeTask.
| Field Summary | |
|---|---|
IndexSegmentBuilder |
builder
The object which built the IndexSegment and which contains more
interesting information about the build. |
boolean |
compactingMerge
true iff the build operation was a compacting merge of the
entire index partition view. |
SegmentMetadata |
segmentMetadata
The metadata describing the generated IndexSegment. |
int |
sourceCount
The #of sources in the view from which the IndexSegment was
built. |
IResourceMetadata[] |
sources
The sources in the view from which the IndexSegment was built. |
| Fields inherited from class com.bigdata.resources.AbstractResult |
|---|
indexMetadata, name |
| Constructor Summary | |
|---|---|
BuildResult(String name,
boolean compactingMerge,
AbstractBTree[] sources,
IndexMetadata indexMetadata,
SegmentMetadata segmentMetadata,
IndexSegmentBuilder builder)
|
|
| Method Summary | |
|---|---|
Map<String,Object> |
getParams()
Return the fields of interest as an set of (name,value) pairs. |
String |
toString()
|
| Methods inherited from class com.bigdata.resources.AbstractResult |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final int sourceCount
IndexSegment was
built.
public IResourceMetadata[] sources
IndexSegment was built.
Note: Builds may include anything from the mutable BTree on the
old journal to the full view of the index partition. They MAY be
comprised of only a subset of the full view as long as the subset is
formed from the 1st N sources in the full view and is taken in the same
order as the full view. As a degenerate case, the subset may include only
the data from the mutable BTree on the old journal. However, the
subset can also include additional sources that were merged together in
order to generate the new IndexSegment.
public boolean compactingMerge
true iff the build operation was a compacting merge of the
entire index partition view.
Note: A compacting merge is ONLY permitted when the entire view is processed. This is necessary in order for the index partition to remain consistent. A compacting merge assumes a closed world (that is, it assumes that there are no deleted tuples which are not present in the set of sources which it processed). A non-merge build DOES NOT make this assumption and therefore WILL NOT discard deleted tuples which unless they have been overwritten in more recent sources in the view.
public final SegmentMetadata segmentMetadata
IndexSegment.
public final IndexSegmentBuilder builder
IndexSegment and which contains more
interesting information about the build.
| Constructor Detail |
|---|
public BuildResult(String name,
boolean compactingMerge,
AbstractBTree[] sources,
IndexMetadata indexMetadata,
SegmentMetadata segmentMetadata,
IndexSegmentBuilder builder)
name - The name under which the processed index partition was
registered (this is typically different from the name of the
scale-out index).indexMetadata - The index metadata object for the processed index as of the
timestamp of the view from which the IndexSegment was
generated.segmentMetadata - The metadata describing the generated IndexSegment.builder - Contains more interesting information about the build.| Method Detail |
|---|
public String toString()
toString in class AbstractResultpublic Map<String,Object> getParams()
Params
getParams in interface Params
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||