public interface TextRecordDiscoverer
TextRecordDiscoverer
can be used with delimited text data to produce schemas for
reading and writing.Modifier and Type | Method and Description |
---|---|
TextRecord |
discoverForRead(List<List<String>> rows,
boolean containsHeader,
TextConversionDefaults defaults)
Constructs a schema for reading based on the given file analysis.
|
TextRecord |
generateForWrite(RecordTokenType recordTokenType,
TextConversionDefaults defaults)
Constructs a schema for writing based on the given record type.
|
TextRecord discoverForRead(List<List<String>> rows, boolean containsHeader, TextConversionDefaults defaults)
rows
- the analyzed rows from a text filecontainsHeader
- indicates whether the first row of the
analyzed file is a headerdefaults
- defaults for the discovered schemaTextRecord generateForWrite(RecordTokenType recordTokenType, TextConversionDefaults defaults)
recordTokenType
- the record type of the datadefaults
- defaults for the discovered schemaCopyright © 2016 Actian Corporation. All rights reserved.