public interface Operation
extends ds.funnel.data.format.FormatMarshaller
Modifier and Type | Interface and Description |
---|---|
static class |
Operation.OperationType |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Reclaim resources if any prior to exiting ...
|
void |
execute()
Execute the operation.
|
DatasetCollection |
getDatasetCollection()
Retrieve the dataset that is associated with this particular operation.
|
String |
getDomain()
Get information about the domain for this operation
|
ExecutionProfile |
getExecutionProfile()
Retrieve the execution profile associated with this operation
|
String |
getInstanceIdentifier()
Retrieve the instance identifier for this operation.
|
String |
getOperationIdentifier()
Retrieve the identifier associated with this operation.
|
Properties |
getProcessingDirectives()
These properties encapsulate the set of processing directives that are
needed to initialize the operation in question.
|
long |
getVersionInformation()
A monotonically increasing version number needs to be associated with the
operations.
|
boolean |
hasDatasetCollection()
Returns true if this operation operates on an underlying dataset
collection.
|
boolean |
hasExecutionProfile()
Check to see if this operation has an execution profile
|
boolean |
hasProcessingDirectives()
Checks to see if the operation has processing directives
|
void |
initialize(Properties processingDirectives)
Initialize the operation based on the specified processing directives.
|
boolean |
isInitialized()
Check if the operation has been initialized
|
boolean |
needsInitialization()
Returns an indicator that indicates if the initialization needs to be
performed.
|
boolean |
terminationConditionReached()
This indicates if the operation has completed or not.
|
String |
toString()
A summarized String-based representation of the operation
|
void |
unmarshall(ds.funnel.data.format.FormatReader marshalledBytes)
Unmarshall the operation from a set of marshalled bytes.
|
String getOperationIdentifier()
String getInstanceIdentifier()
String getDomain()
long getVersionInformation()
boolean hasProcessingDirectives()
true
if the operation has processing directives;
false
otherwise.Properties getProcessingDirectives()
boolean hasDatasetCollection()
true
if the operation has an underlying dataset
collection; false
otherwise.DatasetCollection getDatasetCollection()
void initialize(Properties processingDirectives) throws ProcessingException
processingDirectives
- The specified processing directivesProcessingException
- If there are problems initializing based on the specified
processing directives.void execute() throws ProcessingException
ProcessingException
- If there are problems executing the operation in question.void dispose()
boolean isInitialized()
true
if the operation has been initialized;
false
otherwise.boolean needsInitialization()
true
if the operation has needs to be initialized;
false
otherwise.boolean terminationConditionReached()
true
if the operation has reached its termination
condition; false
otherwise.boolean hasExecutionProfile()
true
if the operation has an execution profile;
false
otherwise.ExecutionProfile getExecutionProfile()
void unmarshall(ds.funnel.data.format.FormatReader marshalledBytes) throws ds.funnel.data.format.FormatException
marshalledBytes
- The byte[] representation of the operation.IOException
- If there are problems unmarshalling this operation.ds.funnel.data.format.FormatException
Copyright © 2015. All rights reserved.