|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.dataloader.target.SQLDriver.SQLIdentifier
public static class SQLDriver.SQLIdentifier
This class is the object that contains the identifier and the SQL text with XPath sentences to parameterize the final SQL statement
| Constructor Summary | |
|---|---|
SQLDriver.SQLIdentifier(java.lang.String identifier,
java.lang.String plainSql)
Creates a new SQLIdentifier |
|
SQLDriver.SQLIdentifier(net.sf.saxon.s9api.XdmNode identifierNode)
Creates a new SQLIdentifier |
|
| Method Summary | |
|---|---|
void |
addNamespace(java.lang.String prefix,
java.lang.String uri)
|
java.lang.String |
getIdentifier()
|
void |
processFact(java.sql.Connection dbConnection,
XBRLFact fact,
net.sf.saxon.s9api.Processor xpSqProc)
Prepares the SQL statement with content from the fact item and executes the generated SQL statement. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLDriver.SQLIdentifier(java.lang.String identifier,
java.lang.String plainSql)
identifier - String, the identifier that matches an event nameplainSql - the raw SQL expression with {XPath: expressions embeddedpublic SQLDriver.SQLIdentifier(net.sf.saxon.s9api.XdmNode identifierNode)
identifierNode - XdmNode| Method Detail |
|---|
public void addNamespace(java.lang.String prefix,
java.lang.String uri)
public java.lang.String getIdentifier()
public void processFact(java.sql.Connection dbConnection,
XBRLFact fact,
net.sf.saxon.s9api.Processor xpSqProc)
throws java.sql.SQLException,
FactHandlerException
dbConnection - fact - xpSqProc -
FactHandlerException
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||