
public class OFileSource extends OAbstractSource
| 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 |
context, ifExpression, logLevel, output, processor| Constructor and Description |
|---|
OFileSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
configure(OETLProcessor iProcessor,
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, resolve, skip, stringArray2Json, toStringprotected 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 OETLComponentgetConfiguration in class OAbstractETLComponentpublic void configure(OETLProcessor iProcessor, ODocument iConfiguration, OCommandContext iContext)
OETLComponentconfigure in interface OETLComponentconfigure in class OAbstractETLComponentpublic void end()
end in interface OETLComponentend in class OAbstractETLComponentpublic String getName()
OETLComponentpublic void begin()
begin in interface OETLComponentbegin in class OAbstractETLComponentpublic boolean isClosed()
public Reader getFileReader()
public Reader read()
Copyright © 2009–2025 OrientDB. All rights reserved.