Uses of Class
com.pervasive.datarush.schema.TextRecord
Packages that use TextRecord
Package
Description
Provides operators for reading and writing text data.
Provides an object model for capturing schema information used primarily by the
textfile package.-
Uses of TextRecord in com.pervasive.datarush.operators.io.textfile
Methods in com.pervasive.datarush.operators.io.textfile that return TextRecordModifier and TypeMethodDescriptionARFFAnalyzer.Analysis.getSchema()Gets the schema for parsing the source file.WriteARFF.getSchema()Get the configured schema for this reader instance.Methods in com.pervasive.datarush.operators.io.textfile with parameters of type TextRecordModifier and TypeMethodDescriptionvoidWriteARFF.setSchema(TextRecord schema) Set the schema to use for the provided data.Constructors in com.pervasive.datarush.operators.io.textfile with parameters of type TextRecordModifierConstructorDescriptionARFFDataFormat(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) -
Uses of TextRecord in com.pervasive.datarush.schema
Methods in com.pervasive.datarush.schema that return TextRecordModifier and TypeMethodDescriptionstatic final TextRecordTextRecord.convert(RecordTokenType type) Generates a text file schema from a token type.static final TextRecordTextRecord.convert(RecordTokenType type, TextConversionDefaults defaults) Generates a text file schema from a token type, using the specified schema-wide default behavior.static final TextRecordTextRecord.convert(RecordTokenType type, TextTypes.StringConversion behavior) Generates a text file schema from a token type, using the specified string conversion default behavior.static TextRecordSchemaBuilder.define(SchemaBuilder.SchemaField... fields) Define (create) a new schema object.static TextRecordSchemaBuilder.define(TextConversionDefaults defaults, SchemaBuilder.SchemaField... fields) Define (create) a new schema object.static TextRecordSchemaBuilder.define(TextTypes.StringConversion conversion, SchemaBuilder.SchemaField... fields) Define (create) a new schema object.static TextRecordSchemaBuilder.define(String nullIndicator, SchemaBuilder.SchemaField... fields) Define (create) a new schema object.JsonPatternBasedDiscovery.discoverForRead(List<String> fieldNames, List<com.fasterxml.jackson.databind.JsonNode> jsonRecords, TextConversionDefaults defaults, boolean includeObjects) PatternBasedDiscovery.discoverForRead(List<List<String>> rows, boolean containsHeader, TextConversionDefaults defaults) TextRecordDiscoverer.discoverForRead(List<List<String>> rows, boolean containsHeader, TextConversionDefaults defaults) Constructs a schema for reading based on the given file analysis.PatternBasedDiscovery.generateForWrite(RecordTokenType type, TextConversionDefaults defaults) TextRecordDiscoverer.generateForWrite(RecordTokenType recordTokenType, TextConversionDefaults defaults) Constructs a schema for writing based on the given record type.SchemaBuilder.toTextRecord()Convert the defined schema into aTextRecordthat is usable by text readers.