Class OETLCSVExtractor
java.lang.Object
com.orientechnologies.orient.etl.OETLAbstractComponent
com.orientechnologies.orient.etl.extractor.OETLAbstractExtractor
com.orientechnologies.orient.etl.extractor.OETLAbstractSourceExtractor
com.orientechnologies.orient.etl.extractor.OETLCSVExtractor
- All Implemented Interfaces:
OETLExtractor,OETLComponent,Iterator<OETLExtractedItem>
An extractor based on Apache Commons CSV Created by frank on 10/5/15.
-
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.etl.extractor.OETLAbstractSourceExtractor
readerFields 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
Modifier and TypeMethodDescriptionvoidconfigure(ODocument iConfiguration, OCommandContext iContext) Called by the @OETLProcessorvoidgetName()Return the symbolic name of the componentgetUnit()booleanhasNext()protected booleanBackport copy of Float.isFinite() method that was introduced since Java 1.8 but we must support 1.6.next()Methods inherited from class com.orientechnologies.orient.etl.extractor.OETLAbstractSourceExtractor
endMethods inherited from class com.orientechnologies.orient.etl.extractor.OETLAbstractExtractor
getProgress, getTotal, removeMethods inherited from class com.orientechnologies.orient.etl.OETLAbstractComponent
begin, 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
begin, getContext, getProcessor, setProcessor
-
Field Details
-
next
-
-
Constructor Details
-
OETLCSVExtractor
public OETLCSVExtractor()
-
-
Method Details
-
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
-
getUnit
-
configure
Description copied from interface:OETLComponentCalled by the @OETLProcessor- Specified by:
configurein interfaceOETLComponent- Overrides:
configurein classOETLAbstractComponent
-
extract
- Specified by:
extractin interfaceOETLExtractor- Overrides:
extractin classOETLAbstractSourceExtractor
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<OETLExtractedItem>- Overrides:
hasNextin classOETLAbstractSourceExtractor
-
isFinite
Backport copy of Float.isFinite() method that was introduced since Java 1.8 but we must support 1.6. TODO replace after choosing Java 1.8 as minimal supported -
next
-