Class OETLHttpSource
java.lang.Object
com.orientechnologies.orient.etl.OETLAbstractComponent
com.orientechnologies.orient.etl.source.OETLAbstractSource
com.orientechnologies.orient.etl.source.OETLHttpSource
- All Implemented Interfaces:
OETLComponent,OETLSource
Extracts data from HTTP endpoint.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HttpURLConnectionprotected ODocumentprotected Stringprotected BufferedReaderprotected StringFields 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.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 com.orientechnologies.orient.etl.OETLComponent
getContext, getProcessor, setProcessor
-
Field Details
-
reader
-
url
-
method
-
conn
-
headers
-
-
Constructor Details
-
OETLHttpSource
public OETLHttpSource()
-
-
Method Details
-
getConfiguration
- Specified by:
getConfigurationin interfaceOETLComponent- Overrides:
getConfigurationin classOETLAbstractComponent- Returns:
-
configure
Description copied from interface:OETLComponentCalled by the @OETLProcessor- Specified by:
configurein interfaceOETLComponent- Overrides:
configurein classOETLAbstractComponent
-
getUnit
-
getName
Description copied from interface:OETLComponentReturn the symbolic name of the component- Returns:
- the name of the component
-
begin
- Specified by:
beginin interfaceOETLComponent- Overrides:
beginin classOETLAbstractComponent
-
end
public void end()- Specified by:
endin interfaceOETLComponent- Overrides:
endin classOETLAbstractComponent
-
read
-