| Package | Description |
|---|---|
| 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. |
| Modifier and Type | Method and Description |
|---|---|
void |
ReadJSON.setSchemaDiscovery(List<TypePattern> patterns)
Enables schema discovery using the default discoverer
extended with additional typing patterns.
|
void |
ReadDelimitedText.setSchemaDiscovery(List<TypePattern> patterns)
Enables schema discovery using the default discoverer
extended with additional typing patterns.
|
| Modifier and Type | Field and Description |
|---|---|
static TypePattern |
TypePattern.BOOLEAN_PATTERN
A pattern declaring a mapping to
TextTypes.TRUE_FALSE. |
static TypePattern |
TypePattern.DATE_PATTERN
A pattern declaring a mapping to
TextTypes.ISO_DATE. |
static TypePattern |
TypePattern.DOUBLE_PATTERN
A pattern declaring a mapping to
TextTypes.JAVA_DOUBLE. |
static TypePattern |
TypePattern.DURATION_PATTERN
A pattern declaring a mapping to
TextTypes.JAVA_DURATION. |
static TypePattern |
TypePattern.INT_PATTERN
A pattern declaring a mapping to
TextTypes.JAVA_INT. |
static TypePattern |
TypePattern.IP4ADDRESS_PATTERN
A pattern declaring a mapping to
TextTypes.TEXT_IPV4ADDRESS. |
static TypePattern |
TypePattern.IP6ADDRESS_PATTERN
A pattern declaring a mapping to
TextTypes.TEXT_IPV6ADDRESS. |
static TypePattern |
TypePattern.LONG_PATTERN
A pattern declaring a mapping to
TextTypes.JAVA_LONG. |
static TypePattern |
TypePattern.MONEY_PATTERN
A pattern declaring a mapping to
TextTypes.JAVA_MONEY
Matches vales containing an optional sign followed by an optional currency symbol,
followed by up to 16 digits before an optional decimal point
and up to 2 more digits. |
static TypePattern |
TypePattern.PERIOD_PATTERN
A pattern declaring a mapping to
TextTypes.JAVA_PERIOD. |
static TypePattern |
TypePattern.TIME_PATTERN
A pattern declaring a mapping to
TextTypes.ISO_TIMEOFDAY. |
static TypePattern |
TypePattern.TIMESTAMP_PATTERN
A pattern declaring a mapping to
TextTypes.ISO_TIMESTAMP. |
| Modifier and Type | Field and Description |
|---|---|
static List<TypePattern> |
PatternBasedDiscovery.DEFAULT_PATTERNS
The default patterns used in discovery when none are specified, in order:
INT_PATTERN
LONG_PATTERN
DOUBLE_PATTERN
MONEY_PATTERN
DATE_PATTERN
TIME_PATTERN
TIMESTAMP_PATTERN
BOOLEAN_PATTERN
IP4ADDRESS_PATTERN
IP6ADDRESS_PATTERN
DURATION_PATTERN
PERIOD_PATTERN
|
| Modifier and Type | Method and Description |
|---|---|
static TextRecordDiscoverer |
TextRecord.extendDefault(List<TypePattern> additions)
Creates a new discoverer which extends the default patterns.
|
| Constructor and Description |
|---|
JsonPatternBasedDiscovery(List<TypePattern> patterns) |
PatternBasedDiscovery(List<TypePattern> patterns)
Creates a mapping using the specified patterns.
|
Copyright © 2021 Actian Corporation. All rights reserved.