public class RemoveRedundancy extends AbstractOperation implements Serializable
This is the core of the redundancy remove operation.
It rebuilds the data stream from the existing data blocks.
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
RemoveRedundancy(RemoveRedundancyOperation op) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRun()
Checks if all prerequisiting fields do exist or can be provided by a subsequent
operation.
|
int[] |
execute(int[] id)
Executes the operation and sets at least the provided set of id.
|
int[] |
getInputId()
Gets all ids which are required to execute this operation.
|
int[] |
getOutputId()
Gets all ids which are written by this operation.
|
String |
toString() |
getIdentity, getUsagePeriod, isInUsagePeriod, setInternalPayload, setUsagePeriod
public static final long serialVersionUID
public RemoveRedundancy(RemoveRedundancyOperation op)
public boolean canRun()
Operation
Checks if all prerequisiting fields do exist or can be provided by a subsequent operation.
canRun
in interface Operation
canRun
in class AbstractOperation
public int[] execute(int[] id)
Operation
Executes the operation and sets at least the provided set of id.
This operation might trigger to execute prerequisiting operations.
execute
in interface Operation
execute
in class AbstractOperation
id
- the namespace id to be set minimallypublic int[] getOutputId()
Operation
Gets all ids which are written by this operation.
getOutputId
in interface Operation
public int[] getInputId()
Operation
Gets all ids which are required to execute this operation.
getInputId
in interface Operation
Copyright © 2023. All rights reserved.