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 the
textfile package. |
Modifier and Type | Method and Description |
---|---|
String |
DynamicEnumerationType.getNullIndicator(TextConversionDefaults defaults) |
Modifier and Type | Method and Description |
---|---|
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.
|
static TextConversionDefaults |
SchemaBuilder.defaults(TextTypes.StringConversion behavior)
Create default settings for a schema.
|
TextConversionDefaults |
TextConversionContext.getDefaults()
Returns the default conversion behavior to use, if the type does not specify one.
|
TextConversionDefaults |
RecordTextSchema.getDefaults()
Gets the default conversion behaviors for fields in the
schema which do not explicitly define any.
|
Modifier and Type | Method and 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 |
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<org.codehaus.jackson.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) |
String |
TextDataType.getNullIndicator(TextConversionDefaults defaults)
Gets the string used to indicate null values for the type.
|
String |
PaddedTextType.getNullIndicator(TextConversionDefaults context) |
static SchemaBuilder |
SchemaBuilder.newInstance(TextConversionDefaults defaults,
SchemaBuilder.SchemaField... fields)
Create a new schema builder reference.
|
Constructor and 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 context
|
TextRecord(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.
|
Copyright © 2020 Actian Corporation. All rights reserved.