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 thetextfilepackage. -
-
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 StringDynamicEnumerationType. 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 TextConversionDefaultsSchemaBuilder. defaults(TextTypes.StringConversion behavior)Create default settings for a schema.static TextConversionDefaultsSchemaBuilder. defaults(String nullIndicator)Create default settings for a schema.static TextConversionDefaultsSchemaBuilder. defaults(String nullIndicator, TextTypes.StringConversion behavior)Create default settings for a schema.TextConversionDefaultsRecordTextSchema. getDefaults()Gets the default conversion behaviors for fields in the schema which do not explicitly define any.TextConversionDefaultsTextConversionContext. 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 TextRecordTextRecord. convert(RecordTokenType type, TextConversionDefaults defaults)Generates a text file schema from a token type, using the specified schema-wide default behavior.static TextRecordSchemaBuilder. define(TextConversionDefaults defaults, SchemaBuilder.SchemaField... fields)Define (create) a new schema object.TextRecordJsonPatternBasedDiscovery. discoverForRead(List<String> fieldNames, List<com.fasterxml.jackson.databind.JsonNode> jsonRecords, TextConversionDefaults defaults, boolean includeObjects)TextRecordPatternBasedDiscovery. discoverForRead(List<List<String>> rows, boolean containsHeader, TextConversionDefaults defaults)TextRecordTextRecordDiscoverer. discoverForRead(List<List<String>> rows, boolean containsHeader, TextConversionDefaults defaults)Constructs a schema for reading based on the given file analysis.TextRecordPatternBasedDiscovery. generateForWrite(RecordTokenType type, TextConversionDefaults defaults)TextRecordTextRecordDiscoverer. generateForWrite(RecordTokenType recordTokenType, TextConversionDefaults defaults)Constructs a schema for writing based on the given record type.StringPaddedTextType. getNullIndicator(TextConversionDefaults context)StringTextDataType. getNullIndicator(TextConversionDefaults defaults)Gets the string used to indicate null values for the type.static SchemaBuilderSchemaBuilder. 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.
-