@Component public class TextColumnExporter extends BaseMatrixExporter
| Modifier and Type | Field and Description |
|---|---|
static String |
FILTER_PARAMETER_KEYWORD |
static String |
METAKEYS_KEYWORD |
static String |
PARAMETER_SEPARATOR |
| Constructor and Description |
|---|
TextColumnExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
createAdjacencyMatrix(org.corpus_tools.salt.common.SDocumentGraph graph,
Map<String,String> args,
int recordNumber,
int nodeCount)
Implements the abstract method of the [SaltBasedExporter](\ref
org.corpus_tools.annis.gui.exporter.SaltBasedExporter).
|
String |
getFileEnding()
Specifies the ending of export file.
|
String |
getHelpMessage() |
void |
getOrderedMatchNumbers()
Invokes the private static method
calculateOrderedMatchNumbersGlobally(int[][], boolean, java.util.Set<java.lang.Long>). |
boolean |
isAlignable()
Indicates, that this exporter is alignable, so the check box will appear in
the [ExportPanel](\ref org.corpus_tools.annis.gui.ExportPanel), if this exporter is chosen.
|
void |
outputText(org.corpus_tools.salt.common.SDocumentGraph graph,
boolean alignmc,
int recordNumber,
Writer out,
com.vaadin.ui.UI ui)
Writes the specified record (if applicable, as multiple result lines) from
query result set to the output file.
|
convertText, isCancelable, needsContextpublic static final String FILTER_PARAMETER_KEYWORD
public static final String PARAMETER_SEPARATOR
public static final String METAKEYS_KEYWORD
public void createAdjacencyMatrix(org.corpus_tools.salt.common.SDocumentGraph graph,
Map<String,String> args,
int recordNumber,
int nodeCount)
throws IOException
createAdjacencyMatrix in class BaseMatrixExportergraph - an org.corpus_tools.salt.common.SDocumentGraph representation of a
recordargs - a map containing parameters like 'filter' or 'metakeys', set by
userrecordNumber - the number of record within the record set returned for the user
querynodeCount - the count of distinct match numbers in the whole record set
returned for the user queryIOExceptionpublic String getFileEnding()
BaseMatrixExportergetFileEnding in interface ExporterPlugingetFileEnding in class BaseMatrixExporterBaseMatrixExporter.getFileEnding()public String getHelpMessage()
public void getOrderedMatchNumbers()
calculateOrderedMatchNumbersGlobally(int[][], boolean, java.util.Set<java.lang.Long>).getOrderedMatchNumbers in class BaseMatrixExporterpublic boolean isAlignable()
public void outputText(org.corpus_tools.salt.common.SDocumentGraph graph,
boolean alignmc,
int recordNumber,
Writer out,
com.vaadin.ui.UI ui)
throws IOException
outputText in class BaseMatrixExportergraph - the org.corpus_tools.salt.common.SDocumentGraph representation of
a specified recordalignmc - a boolean, which indicates, whether the data should be aligned by
match numbers or notrecordNumber - the number of record within the record setout - the specified WriterIOException, - if an I/O error occursIOExceptionCopyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.