Package | Description |
---|---|
com.pervasive.datarush.operators.io.textfile |
Provides operators for reading and writing text data.
|
com.pervasive.datarush.schema |
Provides an object model for capturing schema information used primarily by the
textfile package. |
Modifier and Type | Method and Description |
---|---|
TextRecord |
WriteARFF.getSchema()
Get the configured schema for this reader instance.
|
TextRecord |
ARFFAnalyzer.Analysis.getSchema()
Gets the schema for parsing the source file.
|
Modifier and Type | Method and Description |
---|---|
void |
WriteARFF.setSchema(TextRecord schema)
Set the schema to use for the provided data.
|
Constructor and Description |
---|
ARFFDataFormat(ARFFMode mode,
TextRecord schema,
CharsetEncoding encoding,
char fieldDelimiter)
Create an ARFF data format for reading an ARFF file.
|
ARFFDataFormat(ARFFMode mode,
TextRecord schema,
CharsetEncoding encoding,
String recordSeparator,
char fieldDelimiter,
String relationName,
List<String> comments)
Create an ARFF data format for writing to an ARFF file.
|
JsonRecordReader(TextRecord schema,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
static TextRecord |
TextRecord.convert(RecordTokenType type)
Generates a text file schema from a token type.
|
static TextRecord |
TextRecord.convert(RecordTokenType type,
TextConversionDefaults defaults)
Generates a text file schema from a token type, using the
specified schema-wide default behavior.
|
static TextRecord |
TextRecord.convert(RecordTokenType type,
TextTypes.StringConversion behavior)
Generates a text file schema from a token type, using the
specified string conversion default behavior.
|
static TextRecord |
SchemaBuilder.define(SchemaBuilder.SchemaField... fields)
Define (create) a new schema object.
|
static TextRecord |
SchemaBuilder.define(String nullIndicator,
SchemaBuilder.SchemaField... fields)
Define (create) a new schema object.
|
static TextRecord |
SchemaBuilder.define(TextConversionDefaults defaults,
SchemaBuilder.SchemaField... fields)
Define (create) a new schema object.
|
static TextRecord |
SchemaBuilder.define(TextTypes.StringConversion conversion,
SchemaBuilder.SchemaField... fields)
Define (create) a new schema object.
|
TextRecord |
TextRecordDiscoverer.discoverForRead(List<List<String>> rows,
boolean containsHeader,
TextConversionDefaults defaults)
Constructs a schema for reading based on the given file analysis.
|
TextRecord |
PatternBasedDiscovery.discoverForRead(List<List<String>> rows,
boolean containsHeader,
TextConversionDefaults defaults) |
TextRecord |
JsonPatternBasedDiscovery.discoverForRead(List<String> fieldNames,
List<com.fasterxml.jackson.databind.JsonNode> jsonRecords,
TextConversionDefaults defaults,
boolean includeObjects) |
TextRecord |
TextRecordDiscoverer.generateForWrite(RecordTokenType recordTokenType,
TextConversionDefaults defaults)
Constructs a schema for writing based on the given record type.
|
TextRecord |
PatternBasedDiscovery.generateForWrite(RecordTokenType type,
TextConversionDefaults defaults) |
TextRecord |
SchemaBuilder.toTextRecord()
Convert the defined schema into a
TextRecord that is usable
by text readers. |
Copyright © 2021 Actian Corporation. All rights reserved.