| Package | Description | 
|---|---|
| com.pervasive.datarush.encoding.text | 
 Implementations of encoders of tokens
 into text formats. 
 | 
| 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. | 
| Constructor and Description | 
|---|
StringParser(TextTypes.StringConversion format,
            String nullIndicator,
            Collection<String> allowedValues)
Creates a new formatter with the specified 
 string conversion behavior and null indicator. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TextTypes.StringConversion | 
ReadJSON.getDiscoveryStringHandling()
Gets the default behavior for processing string-valued types
 in discovered schemas. 
 | 
TextTypes.StringConversion | 
ReadDelimitedText.getDiscoveryStringHandling()
Gets the default behavior for processing string-valued types
 in discovered schemas. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ReadJSON.setDiscoveryStringHandling(TextTypes.StringConversion behavior)
Sets the default behavior for processing string-valued types
 in discovered schemas. 
 | 
void | 
ReadDelimitedText.setDiscoveryStringHandling(TextTypes.StringConversion behavior)
Sets the default behavior for processing string-valued types
 in discovered schemas. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static TextTypes.StringConversion | 
SchemaBuilder.NULLABLE_RAW
No trimming, empty string is treated as null. 
 | 
static TextTypes.StringConversion | 
SchemaBuilder.NULLABLE_TRIMMED
Trim white space and treat empty strings as null. 
 | 
static TextTypes.StringConversion | 
SchemaBuilder.RAW
Raw string conversion, no trimming and empty strings are not null. 
 | 
static TextTypes.StringConversion | 
SchemaBuilder.TRIMMED
Trim white space, empty strings passed through. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TextTypes.StringConversion | 
TextConversionDefaults.applyDefaultStringHandling(TextTypes.StringConversion value)
Merges the given string conversion behavior with the default. 
 | 
TextTypes.StringConversion | 
TextConversionContext.applyDefaultStringHandling(TextTypes.StringConversion value)
Merges the given string conversion behavior with the default. 
 | 
static TextTypes.StringConversion | 
TextTypes.StringConversion.getConversion(boolean trimWhitespace,
             boolean nullable)
Gets the conversion with the specified properties. 
 | 
TextTypes.StringConversion | 
TextConversionDefaults.getStringHandling()
Gets the behavior for processing string-valued types. 
 | 
static TextTypes.StringConversion | 
TextTypes.StringConversion.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static TextTypes.StringConversion[] | 
TextTypes.StringConversion.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TextTypes.StringConversion | 
TextConversionDefaults.applyDefaultStringHandling(TextTypes.StringConversion value)
Merges the given string conversion behavior with the default. 
 | 
TextTypes.StringConversion | 
TextConversionContext.applyDefaultStringHandling(TextTypes.StringConversion value)
Merges the given string conversion behavior with the default. 
 | 
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 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. 
 | 
static TextRecord | 
SchemaBuilder.define(TextTypes.StringConversion conversion,
      SchemaBuilder.SchemaField... fields)
Define (create) a new schema object. 
 | 
static TextSchema | 
StructuredSchemaReader.load(String schemaFile,
    TextTypes.StringConversion stringHandling)
Gets the text schema defined in the specified structured schema file, providing
 hints about how string valued fields should be interpreted. 
 | 
static SchemaBuilder | 
SchemaBuilder.newInstance(TextTypes.StringConversion conversion,
           SchemaBuilder.SchemaField... fields)
Create a new schema builder reference. 
 | 
void | 
TextConversionDefaults.setStringHandling(TextTypes.StringConversion behavior)
Sets the behavior for processing string-valued types. 
 | 
void | 
StructuredSchemaReader.setStringHandling(TextTypes.StringConversion handling)
Configures the string conversion properties of the reader. 
 | 
static TextDataType | 
TextTypes.STRING(TextTypes.StringConversion behavior)
String token values with the specified conversion behavior. 
 | 
static TextDataType | 
TextTypes.STRING(TextTypes.StringConversion behavior,
      String nullIndicator)
String token values with the specified conversion behavior and null indicator. 
 | 
| Constructor and Description | 
|---|
TextConversionDefaults(String nullIndicator,
                      TextTypes.StringConversion behavior)
Creates a descriptor having the specified behavior. 
 | 
TextConversionDefaults(TextTypes.StringConversion behavior)
Creates a descriptor having the specified string processing
 behavior. 
 | 
Copyright © 2020 Actian Corporation. All rights reserved.