Class RecomputeVideoInfoComputation
java.lang.Object
org.nuxeo.lib.stream.computation.AbstractComputation
org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation
org.nuxeo.ecm.platform.video.computation.RecomputeVideoInfoComputation
- All Implemented Interfaces:
Computation
Computation that fills Video Info.
- Since:
- 11.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected Booleanprotected RecordFields inherited from class org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation
command, commands, delta, SELECT_DOCUMENTS_INFields inherited from class org.nuxeo.lib.stream.computation.AbstractComputation
INPUT_1, INPUT_2, INPUT_3, INPUT_NULL, metadata, OUTPUT_1, OUTPUT_2, OUTPUT_3, OUTPUT_4 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcompute(CoreSession session, List<String> ids, Map<String, Serializable> properties) voidendBucket(ComputationContext context, BulkStatus delta) Can be overridden to write to downstream computation or add results to statusprotected DurationvoidprocessRecord(ComputationContext context, String inputStreamName, Record record) Process an incoming record on one of the computation's input streams.voidstartBucket(String bucketKey) Can be overridden to init stuff before processing the bucketMethods inherited from class org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation
getCommand, getCurrentCommand, isAbortedCommand, loadDocuments, loadDocumentsOneByOne, loginSystemOrUser, processBatchOfDocuments, processFailure, updateStatusMethods inherited from class org.nuxeo.lib.stream.computation.AbstractComputation
init, metadata, processRetry, processTimerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.lib.stream.computation.Computation
destroy, signalStop
-
Field Details
-
NAME
- See Also:
-
RECOMPUTE_ALL_VIDEO_INFO
- See Also:
-
recomputeAll
-
record
-
-
Constructor Details
-
RecomputeVideoInfoComputation
public RecomputeVideoInfoComputation()
-
-
Method Details
-
processRecord
Description copied from interface:ComputationProcess an incoming record on one of the computation's input streams.- Specified by:
processRecordin interfaceComputation- Overrides:
processRecordin classAbstractBulkComputation- Parameters:
context- The computation context object provided by the system.inputStreamName- Name of the input stream that provides the record.record- The record.
-
getBatchTransactionTimeout
- Overrides:
getBatchTransactionTimeoutin classAbstractBulkComputation- Returns:
- the transaction timeout to use to process the bucket, <= 0 for the default
-
startBucket
Description copied from class:AbstractBulkComputationCan be overridden to init stuff before processing the bucket- Overrides:
startBucketin classAbstractBulkComputation
-
compute
- Specified by:
computein classAbstractBulkComputation
-
endBucket
Description copied from class:AbstractBulkComputationCan be overridden to write to downstream computation or add results to status- Overrides:
endBucketin classAbstractBulkComputation
-