public class OETLHttpSource extends OETLAbstractSource
Modifier and Type | Field and Description |
---|---|
protected HttpURLConnection |
conn |
protected ODocument |
headers |
protected String |
method |
protected BufferedReader |
reader |
protected String |
url |
configuration, context, ifExpression, output, processor
Constructor and Description |
---|
OETLHttpSource() |
Modifier and Type | Method and Description |
---|---|
void |
begin(ODatabaseDocument db) |
void |
configure(ODocument iConfiguration,
OCommandContext iContext)
Called by the @OETLProcessor
|
void |
end() |
ODocument |
getConfiguration() |
String |
getName()
Return the symbolic name of the component
|
String |
getUnit() |
Reader |
read() |
getCommonConfigurationParameters, getIfFilter, log, log, resolve, setProcessor, skip, stringArray2Json, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setProcessor
protected BufferedReader reader
protected String url
protected String method
protected HttpURLConnection conn
protected ODocument headers
public ODocument getConfiguration()
getConfiguration
in interface OETLComponent
getConfiguration
in class OETLAbstractComponent
public void configure(ODocument iConfiguration, OCommandContext iContext)
OETLComponent
configure
in interface OETLComponent
configure
in class OETLAbstractComponent
public String getUnit()
public String getName()
OETLComponent
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 Reader read()
Copyright © 2009–2020 OrientDB. All rights reserved.