Module datarush.library
Class DelimitedTextAnalyzer.Analysis
- java.lang.Object
-
- com.pervasive.datarush.operators.io.textfile.DelimitedTextAnalyzer.Analysis
-
- Enclosing class:
- DelimitedTextAnalyzer
public static class DelimitedTextAnalyzer.Analysis extends Object
Contains the results of an analysis of a delimited text file.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDetectedCommentMarker()Gets the comment marker used in the file based on analysis.FieldDelimiterSpecifiergetDetectedDelimiters()Gets the delimiters used to produce the parsed records.List<List<String>>getParsedRecords()Gets the raw field values for all parsed records.
-
-
-
Method Detail
-
getDetectedDelimiters
public FieldDelimiterSpecifier getDetectedDelimiters()
Gets the delimiters used to produce the parsed records. These settings will be those specified for the analyzer, with any auto-discovered settings filled in based on the analysis.- Returns:
- the delimiters used in the file, as determined by analysis
-
getDetectedCommentMarker
public String getDetectedCommentMarker()
Gets the comment marker used in the file based on analysis.- Returns:
- the comment marker used in the file, as determined by analysis
-
getParsedRecords
public List<List<String>> getParsedRecords()
Gets the raw field values for all parsed records. The values are the raw text for the field, stripped of field delimiters; no type-driven parsing is done. If the file is empty, an empty list is returned.- Returns:
- the field values detected for analyzed records.
-
-