|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dom4j.tree.AbstractNode
org.dom4j.tree.AbstractBranch
org.dom4j.tree.AbstractElement
org.dom4j.tree.DefaultElement
smacs.tree.ScriptNode
smacs.load.mapping.DbMappingScriptNode
smacs.load.mapping.DbMappingTransformNode
implementation of transform rule.
has a number of properties
(a) a List of DbMappingTargetInsert rules.
(b) a source definition as DbMappingSourceCursor
(c) a DistinctSet store that can be queried.
| Field Summary |
| Fields inherited from class smacs.tree.ScriptNode |
_NodeHandler, log, TokenValue |
| Fields inherited from class org.dom4j.tree.AbstractElement |
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING |
| Fields inherited from class org.dom4j.tree.AbstractBranch |
DEFAULT_CONTENT_LIST_SIZE, outputFormat |
| Fields inherited from class org.dom4j.tree.AbstractNode |
NODE_TYPE_NAMES |
| Fields inherited from interface smacs.tree.SimpleNode |
TokenValue |
| Fields inherited from interface org.dom4j.Node |
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE |
| Constructor Summary | |
DbMappingTransformNode(SmacsFixNodeLater later)
constructor. for reloading from file. |
|
DbMappingTransformNode(SqlInsertFromStatementQ sql)
constructor. create from INSERT FROM syntax |
|
DbMappingTransformNode(SqlInsertIntoStatementQ sql)
constructor. create from INSERT INTO syntax |
|
DbMappingTransformNode(SqlInsertNewFromStatementQ sql)
constructor. create from INSERT NEW FROM syntax |
|
DbMappingTransformNode(SqlInsertTransformStatementQ sql)
constructor. create from TRANSFORM syntax |
|
| Method Summary | |
void |
addSourceCursor(DbMappingSourceCursor source)
set property for getSourceCursor() |
void |
addTargetInsert(DbMappingTargetInsert insert)
add property for getTargetInsert(int) |
int |
expandDistinctHints()
|
DbMappingSourceCursor |
getSourceCursor()
elem for source definition.. set via addSourceCursor(DbMappingSourceCursor). |
DbMappingTargetInsert |
getTargetInsert(int i)
elem of list of target inserts.. add via addTargetInsert(DbMappingTargetInsert) |
int |
getTargetInsertMax()
size of list of target inserts.. add via addTargetInsert(DbMappingTargetInsert) |
DbMappingDistinct |
hasDistinct(DbMappingTargetInsert insert)
test for distinct.. implementation. |
DbMappingDistinctList |
hasDistinctList()
get storage node for distinct tests. |
DbMappingDistinct |
hasDistinctSet(DbMappingTargetInsert insert)
test for distinct.. implementation. |
| Methods inherited from class org.dom4j.tree.AbstractBranch |
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions |
| Methods inherited from class org.dom4j.tree.AbstractNode |
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.dom4j.Branch |
add, add, add, add, addElement, addElement, addElement, appendContent, clearContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, removeProcessingInstruction, setContent, setProcessingInstructions |
| Methods inherited from interface org.dom4j.Node |
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write |
| Methods inherited from interface smacs.util.listen.GetName |
getName |
| Constructor Detail |
public DbMappingTransformNode(SqlInsertIntoStatementQ sql)
public DbMappingTransformNode(SqlInsertFromStatementQ sql)
public DbMappingTransformNode(SqlInsertNewFromStatementQ sql)
public DbMappingTransformNode(SqlInsertTransformStatementQ sql)
public DbMappingTransformNode(SmacsFixNodeLater later)
| Method Detail |
public DbMappingSourceCursor getSourceCursor()
addSourceCursor(DbMappingSourceCursor).
getSourceCursor in interface DbMappingTransformpublic void addSourceCursor(DbMappingSourceCursor source)
getSourceCursor()
public int getTargetInsertMax()
addTargetInsert(DbMappingTargetInsert)
getTargetInsertMax in interface DbMappingTransformpublic DbMappingTargetInsert getTargetInsert(int i)
addTargetInsert(DbMappingTargetInsert)
getTargetInsert in interface DbMappingTransformpublic void addTargetInsert(DbMappingTargetInsert insert)
getTargetInsert(int)
public int expandDistinctHints()
expandDistinctHints in interface DbMappingSimpleNodeexpandDistinctHints in class DbMappingScriptNodepublic DbMappingDistinctList hasDistinctList()
public DbMappingDistinct hasDistinct(DbMappingTargetInsert insert)
hasDistinct in interface DbMappingTransformpublic DbMappingDistinct hasDistinctSet(DbMappingTargetInsert insert)
hasDistinctSet in interface DbMappingTransform
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||