Class TableReader
- java.lang.Object
-
- jetbrains.buildServer.serverSide.maintenance.TableReader
-
public class TableReader extends Object
- Author:
- Leonid Bushuev from JetBrains
-
-
Constructor Summary
Constructors Constructor Description TableReader(String tableName, BufferedReader textReader, CSVWorker csvWorker, TableImportTuning tuning)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
com.google.common.collect.ImmutableList<String>
getFieldNames()
int
getLineNr()
long
getReadCharacters()
String
getTableName()
boolean
isEOF()
ImportPack
readPack(CSVRowPreprocessor rowPreprocessor)
void
setTuning(TableImportTuning tuning)
-
-
-
Constructor Detail
-
TableReader
public TableReader(@NotNull String tableName, @NotNull BufferedReader textReader, @NotNull CSVWorker csvWorker, @NotNull TableImportTuning tuning) throws IOException, RestoringError
- Throws:
IOException
RestoringError
-
-
Method Detail
-
setTuning
public void setTuning(@NotNull TableImportTuning tuning)
-
readPack
@NotNull public ImportPack readPack(@Nullable CSVRowPreprocessor rowPreprocessor) throws IOException
- Throws:
IOException
-
getFieldNames
public com.google.common.collect.ImmutableList<String> getFieldNames()
-
getLineNr
public int getLineNr()
-
getReadCharacters
public long getReadCharacters()
-
isEOF
public boolean isEOF()
-
close
public void close()
-
getTableName
public String getTableName()
-
-