public class OETLFileSource extends OETLAbstractSource
Modifier and Type | Field and Description |
---|---|
protected long |
byteParsed |
protected long |
byteToParse |
protected FileChannel |
channel |
protected String |
fileName |
protected InputStreamReader |
fileReader |
protected FileInputStream |
fis |
protected FileLock |
lock |
protected boolean |
lockFile |
protected String |
path |
protected RandomAccessFile |
raf |
protected long |
skipFirst |
protected long |
skipLast |
configuration, context, ifExpression, output, processor
Constructor and Description |
---|
OETLFileSource() |
Modifier and Type | Method and Description |
---|---|
void |
begin(ODatabaseDocument db) |
void |
configure(ODocument iConfiguration,
OCommandContext iContext)
Called by the @OETLProcessor
|
void |
end() |
ODocument |
getConfiguration() |
Reader |
getFileReader() |
String |
getName()
Return the symbolic name of the component
|
String |
getUnit() |
boolean |
isClosed() |
Reader |
read() |
getCommonConfigurationParameters, getIfFilter, log, log, resolve, setProcessor, skip, stringArray2Json, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setProcessor
protected String fileName
protected String path
protected boolean lockFile
protected long byteParsed
protected long byteToParse
protected long skipFirst
protected long skipLast
protected RandomAccessFile raf
protected FileChannel channel
protected InputStreamReader fileReader
protected FileInputStream fis
protected FileLock lock
public String getUnit()
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 void end()
end
in interface OETLComponent
end
in class OETLAbstractComponent
public String getName()
OETLComponent
public void begin(ODatabaseDocument db)
begin
in interface OETLComponent
begin
in class OETLAbstractComponent
public boolean isClosed()
public Reader getFileReader()
public Reader read()
Copyright © 2009–2020 OrientDB. All rights reserved.