Class OETLJDBCExtractor
java.lang.Object
com.orientechnologies.orient.etl.OETLAbstractComponent
com.orientechnologies.orient.etl.extractor.OETLAbstractExtractor
com.orientechnologies.orient.etl.extractor.OETLJDBCExtractor
- All Implemented Interfaces:
OETLExtractor,OETLComponent,Iterator<OETLExtractedItem>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Connectionprotected booleanprotected Stringprotected intprotected booleanprotected Stringprotected Stringprotected ResultSetprotected intprotected Statementprotected Stringprotected Stringprotected StringFields inherited from class com.orientechnologies.orient.etl.extractor.OETLAbstractExtractor
current, totalFields inherited from class com.orientechnologies.orient.etl.OETLAbstractComponent
configuration, context, ifExpression, output, processor -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.orientechnologies.orient.etl.extractor.OETLAbstractExtractor
getProgress, getTotal, removeMethods inherited from class com.orientechnologies.orient.etl.OETLAbstractComponent
debug, error, error, format, getCommonConfigurationParameters, getContext, getIfFilter, getProcessor, info, resolve, setProcessor, skip, stringArray2Json, toString, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface com.orientechnologies.orient.etl.OETLComponent
getContext, getProcessor, setProcessor
-
Field Details
-
url
-
userName
-
userPassword
-
query
-
queryCount
-
driverClass
-
conn
-
stm
-
rs
-
didNext
protected boolean didNext -
hasNext
protected boolean hasNext -
rsColumns
protected int rsColumns -
columnNames
-
columnTypes
-
fetchSize
protected int fetchSize
-
-
Constructor Details
-
OETLJDBCExtractor
public OETLJDBCExtractor()
-
-
Method Details
-
configure
Description copied from interface:OETLComponentCalled by the @OETLProcessor- Specified by:
configurein interfaceOETLComponent- Overrides:
configurein classOETLAbstractComponent
-
begin
- Specified by:
beginin interfaceOETLComponent- Overrides:
beginin classOETLAbstractComponent
-
end
public void end()- Specified by:
endin interfaceOETLComponent- Overrides:
endin classOETLAbstractComponent
-
extract
-
getUnit
-
hasNext
public boolean hasNext() -
next
-
getConfiguration
- Specified by:
getConfigurationin interfaceOETLComponent- Overrides:
getConfigurationin classOETLAbstractExtractor- Returns:
-
getName
Description copied from interface:OETLComponentReturn the symbolic name of the component- Returns:
- the name of the component
-