|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Callback
This interfaces defines the callback calls from DAX parsing. A slim and memory-efficient parser of DAX is expected to implement these callbacks, and generate its own information on the fly.
| Field Summary | |
|---|---|
static String |
VERSION
The version of the Callback api |
| Method Summary | |
|---|---|
void |
cbCompoundTransformation(CompoundTransformation compoundTransformation)
Callback when a compound transformation is encountered in the DAX from Section 3: that lists Transformations that Aggregate executables and Files |
void |
cbDocument(Map attributes)
Callback when the opening tag was parsed. |
void |
cbDone()
Callback when the parsing of the document is done. |
void |
cbExecutable(TransformationCatalogEntry tce)
Callback when a transformation catalog entry is encountered in the DAX from Section 2: Executables that list entries in a Transformaton Catalog |
void |
cbFile(ReplicaLocation rl)
Callback when a replica catalog entry is encountered in the DAX from Section 1: Files that lists entries in a Replica Catalog |
void |
cbJob(Job job)
Callback for the job from section 4: Job's, DAX's or Dag's that list a JOB or DAX or DAG . |
void |
cbParents(String child,
List<PCRelation> parents)
Callback for child and parent relationships from Section 5: Dependencies that lists Parent Child relationships (can be empty) |
void |
cbWfInvoke(Invoke invoke)
Callback when a invoke is encountered in the DAX from the top level inside adag tag. |
Object |
getConstructedObject()
Return a object that is constructed during the parsing of the object. |
| Field Detail |
|---|
static final String VERSION
| Method Detail |
|---|
Object getConstructedObject()
void cbDocument(Map attributes)
attributes - is a map of attribute key to attribute valuevoid cbWfInvoke(Invoke invoke)
invoke - the invoke objectvoid cbFile(ReplicaLocation rl)
rl - the ReplicaLocation objectvoid cbExecutable(TransformationCatalogEntry tce)
tce - the transformationc catalog entry object.void cbCompoundTransformation(CompoundTransformation compoundTransformation)
compoundTransformation - the compound transforamtionvoid cbJob(Job job)
job - is the DAX-style job.
void cbParents(String child,
List<PCRelation> parents)
child - is the IDREF of the child element.parents - is a list of edjes denoted by PCRelation object.void cbDone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||