Class OETLJsonExtractor
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.OETLJsonExtractor
- All Implemented Interfaces:
OETLExtractor,OETLComponent,Iterator<OETLExtractedItem>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Characterprotected OJSONReaderprotected OETLExtractedItemFields 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 TypeMethodDescriptionvoidprotected OETLExtractedItemgetName()Return the symbolic name of the componentgetUnit()booleanhasNext()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, configure, 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, configure, getContext, getProcessor, setProcessor
-
Field Details
-
jsonReader
-
first
-
next
-
-
Constructor Details
-
OETLJsonExtractor
public OETLJsonExtractor()
-
-
Method Details
-
getName
Description copied from interface:OETLComponentReturn the symbolic name of the component- Returns:
- the name of the component
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<OETLExtractedItem>- Overrides:
hasNextin classOETLAbstractSourceExtractor
-
next
-
extract
- Specified by:
extractin interfaceOETLExtractor- Overrides:
extractin classOETLAbstractSourceExtractor
-
getConfiguration
- Specified by:
getConfigurationin interfaceOETLComponent- Overrides:
getConfigurationin classOETLAbstractExtractor- Returns:
-
getUnit
-
fetchNext
- Throws:
IOExceptionParseException
-