Uses of Class
com.pervasive.datarush.schema.TextConversionDefaults
-
Packages that use TextConversionDefaults Package Description com.pervasive.datarush.analytics.util Provides some (internal) utility classes for Analytics.com.pervasive.datarush.schema Provides an object model for capturing schema information used primarily by thetextfile
package. -
-
Uses of TextConversionDefaults in com.pervasive.datarush.analytics.util
Methods in com.pervasive.datarush.analytics.util with parameters of type TextConversionDefaults Modifier and Type Method Description String
DynamicEnumerationType. getNullIndicator(TextConversionDefaults defaults)
-
Uses of TextConversionDefaults in com.pervasive.datarush.schema
Methods in com.pervasive.datarush.schema that return TextConversionDefaults Modifier and Type Method Description static TextConversionDefaults
SchemaBuilder. defaults(TextTypes.StringConversion behavior)
Create default settings for a schema.static TextConversionDefaults
SchemaBuilder. defaults(String nullIndicator)
Create default settings for a schema.static TextConversionDefaults
SchemaBuilder. defaults(String nullIndicator, TextTypes.StringConversion behavior)
Create default settings for a schema.TextConversionDefaults
RecordTextSchema. getDefaults()
Gets the default conversion behaviors for fields in the schema which do not explicitly define any.TextConversionDefaults
TextConversionContext. getDefaults()
Returns the default conversion behavior to use, if the type does not specify one.Methods in com.pervasive.datarush.schema with parameters of type TextConversionDefaults Modifier and Type Method Description 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
SchemaBuilder. define(TextConversionDefaults defaults, SchemaBuilder.SchemaField... fields)
Define (create) a new schema object.TextRecord
JsonPatternBasedDiscovery. discoverForRead(List<String> fieldNames, List<com.fasterxml.jackson.databind.JsonNode> jsonRecords, TextConversionDefaults defaults, boolean includeObjects)
TextRecord
PatternBasedDiscovery. discoverForRead(List<List<String>> rows, boolean containsHeader, TextConversionDefaults defaults)
TextRecord
TextRecordDiscoverer. discoverForRead(List<List<String>> rows, boolean containsHeader, TextConversionDefaults defaults)
Constructs a schema for reading based on the given file analysis.TextRecord
PatternBasedDiscovery. generateForWrite(RecordTokenType type, TextConversionDefaults defaults)
TextRecord
TextRecordDiscoverer. generateForWrite(RecordTokenType recordTokenType, TextConversionDefaults defaults)
Constructs a schema for writing based on the given record type.String
PaddedTextType. getNullIndicator(TextConversionDefaults context)
String
TextDataType. getNullIndicator(TextConversionDefaults defaults)
Gets the string used to indicate null values for the type.static SchemaBuilder
SchemaBuilder. newInstance(TextConversionDefaults defaults, SchemaBuilder.SchemaField... fields)
Create a new schema builder reference.Constructors in com.pervasive.datarush.schema with parameters of type TextConversionDefaults Constructor Description FixedWidthTextRecord(TextConversionDefaults defaults)
Defines an empty fixed-width record with the specified text conversion behavior.FixedWidthTextRecord(TextConversionDefaults defaults, Map<String,FixedSizeTextType> fieldTypes)
Defines a record with the specified text conversion behavior and fields.TextConversionContext(TextConversionDefaults defaults, FieldDomain domain)
Creates a new text conversion contextTextRecord(TextConversionDefaults defaults)
Defines an empty record with the specified text conversion behavior.TextRecord(TextConversionDefaults defaults, Map<String,TextDataType> fieldTypes)
Defines a record with the specified text conversion behavior and fields.
-