public class OETLJDBCExtractor extends OETLAbstractExtractor
Modifier and Type | Field and Description |
---|---|
protected List<String> |
columnNames |
protected List<OType> |
columnTypes |
protected Connection |
conn |
protected boolean |
didNext |
protected String |
driverClass |
protected int |
fetchSize |
protected boolean |
hasNext |
protected String |
query |
protected String |
queryCount |
protected ResultSet |
rs |
protected int |
rsColumns |
protected Statement |
stm |
protected String |
url |
protected String |
userName |
protected String |
userPassword |
current, total
configuration, context, ifExpression, output, processor
Constructor and Description |
---|
OETLJDBCExtractor() |
Modifier and Type | Method and Description |
---|---|
void |
begin(ODatabaseDocument db) |
void |
configure(ODocument iConfiguration,
OCommandContext iContext)
Called by the @OETLProcessor
|
void |
end() |
void |
extract(Reader iReader) |
ODocument |
getConfiguration() |
String |
getName()
Return the symbolic name of the component
|
String |
getUnit() |
boolean |
hasNext() |
OETLExtractedItem |
next() |
getProgress, getTotal, remove
getCommonConfigurationParameters, getIfFilter, log, log, resolve, setProcessor, skip, stringArray2Json, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setProcessor
forEachRemaining
protected String url
protected String userName
protected String userPassword
protected String query
protected String queryCount
protected String driverClass
protected Connection conn
protected Statement stm
protected ResultSet rs
protected boolean didNext
protected boolean hasNext
protected int rsColumns
protected int fetchSize
public void configure(ODocument iConfiguration, OCommandContext iContext)
OETLComponent
configure
in interface OETLComponent
configure
in class OETLAbstractComponent
public void begin(ODatabaseDocument db)
begin
in interface OETLComponent
begin
in class OETLAbstractComponent
public void end()
end
in interface OETLComponent
end
in class OETLAbstractComponent
public void extract(Reader iReader)
public String getUnit()
public boolean hasNext()
public OETLExtractedItem next()
public ODocument getConfiguration()
getConfiguration
in interface OETLComponent
getConfiguration
in class OETLAbstractExtractor
public String getName()
OETLComponent
Copyright © 2009–2020 OrientDB. All rights reserved.