protected static class SplitUtility.BuildIndexSegmentSplitTask extends AbstractResourceManagerTask<BuildResult>
IndexSegment
from a restricted key-range of
an index during a SplitIndexPartitionTask
. This is a compacting
merge since we want as much of the data for the index as possible in a
single IndexSegment
.AbstractTask.DelegateTask<T>, AbstractTask.InnerReadWriteTxServiceCallable<T>, AbstractTask.InnerWriteServiceCallable<T>, AbstractTask.ResubmitException
DEBUG, INFO, log, resourceManager
checkpointNanoTime, concurrencyManager, isReadWriteTx, nanoTime_assignedWorker, nanoTime_beginWork, nanoTime_finishedWork, nanoTime_submitTask, readOnly, taskCounters, timestamp, transactionManager, tx
Constructor and Description |
---|
SplitUtility.BuildIndexSegmentSplitTask(com.bigdata.resources.ViewMetadata vmd,
Split split,
Event parentEvent)
Builds an
IndexSegment from the lastCommitTime of the old
journal. |
Modifier and Type | Method and Description |
---|---|
protected BuildResult |
doTask()
Note: The generated
IndexSegment is on the retentionSet and
MUST be removed from that set once it has been incorporated in a
restart safe manner into an index partition view or once the task
fails. |
toString
assertResource, assertRunning, assertUnisolated, call, clearLoggingContext, dropIndex, getCommitTime, getIndex, getJournal, getOnlyResource, getResource, getResourceManager, getTaskCounters, getTaskName, getTimestamp, isResource, registerIndex, setupLoggingContext, toString
public SplitUtility.BuildIndexSegmentSplitTask(com.bigdata.resources.ViewMetadata vmd, Split split, Event parentEvent)
IndexSegment
from the lastCommitTime of the old
journal.vmd
- split
- protected BuildResult doTask() throws Exception
IndexSegment
is on the retentionSet and
MUST be removed from that set once it has been incorporated in a
restart safe manner into an index partition view or once the task
fails.doTask
in class AbstractTask<BuildResult>
AbstractTask.call()
iff the
operation succeeds.Exception
- The exception that will be thrown by AbstractTask.call()
iff the
operation fails.InterruptedException
- This exception SHOULD be thrown if
Thread.interrupted()
becomes true during
execution.StoreManager.retentionSetAdd(java.util.UUID)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.