Package com.gengoai.hermes.format
Class CsvFormat.CSVParameters
- java.lang.Object
-
- com.gengoai.ParamMap<DocFormatParameters>
-
- com.gengoai.hermes.format.DocFormatParameters
-
- com.gengoai.hermes.format.CsvFormat.CSVParameters
-
- All Implemented Interfaces:
Copyable<DocFormatParameters>
,Serializable
- Enclosing class:
- CsvFormat
public static class CsvFormat.CSVParameters extends DocFormatParameters
The type Csv parameters.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.gengoai.ParamMap
ParamMap.Parameter<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description ParamMap.Parameter<List<String>>
columns
List of strings representing the column namesParamMap.Parameter<Character>
comment
The character representing a commented lineParamMap.Parameter<String>
content
The name of the column containing the contentParamMap.Parameter<Character>
delimiter
The character representing the column delimiterParamMap.Parameter<Boolean>
hasHeader
True when the CSV file has a header, False when notParamMap.Parameter<String>
id
The name of the column representing the idParamMap.Parameter<String>
language
The name of the column representing the document language-
Fields inherited from class com.gengoai.hermes.format.DocFormatParameters
DEFAULT_LANGUAGE, defaultLanguage, distributed, DISTRIBUTED, normalizers, NORMALIZERS, SAVE_MODE, saveMode
-
-
Constructor Summary
Constructors Constructor Description CSVParameters()
-
Method Summary
-
Methods inherited from class com.gengoai.hermes.format.DocFormatParameters
getDocumentFactory
-
Methods inherited from class com.gengoai.ParamMap
as, copy, get, get, getOrDefault, getOrDefault, getParam, parameter, parameterNames, set, set, setAll, toString, update
-
-
-
-
Field Detail
-
comment
public final ParamMap.Parameter<Character> comment
The character representing a commented line
-
delimiter
public final ParamMap.Parameter<Character> delimiter
The character representing the column delimiter
-
hasHeader
public final ParamMap.Parameter<Boolean> hasHeader
True when the CSV file has a header, False when not
-
columns
public final ParamMap.Parameter<List<String>> columns
List of strings representing the column names
-
content
public final ParamMap.Parameter<String> content
The name of the column containing the content
-
id
public final ParamMap.Parameter<String> id
The name of the column representing the id
-
language
public final ParamMap.Parameter<String> language
The name of the column representing the document language
-
-