Package | Description |
---|---|
com.pervasive.datarush.schema |
Provides an object model for capturing schema information used primarily by the
textfile package. |
Modifier and Type | Method and Description |
---|---|
static SchemaBuilder.SchemaField |
SchemaBuilder.BINARY(String fieldName)
Create a binary field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.BOOLEAN(String fieldName)
Create a default boolean field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.BOOLEAN(String fieldName,
String trueValue,
String falseValue)
Create a boolean field with defined values for true/false.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.BOOLEAN(String fieldName,
String trueValue,
String falseValue,
boolean caseSensitive)
Create a boolean field with defined values for true/false.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.CHAR(String fieldName)
Create a default char field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.DATE(String fieldName)
Create a date field using ISO defined format.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.DATE(String fieldName,
String format)
Create a date field using the defined format or pattern.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.DOUBLE(String fieldName)
Create a double field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.DOUBLE(String fieldName,
String format)
Create a double field using the defined format or pattern.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.FLOAT(String fieldName)
Create a float field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.FLOAT(String fieldName,
String format)
Create a float field using the defined format or pattern.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.INT(String fieldName)
Create an integer field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.INT(String fieldName,
String format)
Create an integer field using the defined format or pattern.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.LONG(String fieldName)
Create a long field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.LONG(String fieldName,
String format)
Create a long field using the defined format or pattern.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.NUMERIC(String fieldName)
Create a numeric field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.NUMERIC(String fieldName,
String format)
Create a numeric field using the defined format or pattern.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.STRING(String fieldName)
Create a string field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.STRING(String fieldName,
List<String> domain)
Create a string field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.STRING(String fieldName,
String... domain)
Create a string field.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.TIMEOFDAY(String fieldName)
Create a timeofday field using ISO defined format.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.TIMEOFDAY(String fieldName,
String format)
Create a timeofday field using the defined format or pattern.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.TIMESTAMP(String fieldName)
Create a timestamp field using ISO defined format.
|
static SchemaBuilder.SchemaField |
SchemaBuilder.TIMESTAMP(String fieldName,
String format)
Create a timestamp field using the defined format or pattern.
|
Modifier and Type | Method and Description |
---|---|
static TextRecord |
SchemaBuilder.define(SchemaBuilder.SchemaField... fields)
Define (create) a new schema object.
|
static TextRecord |
SchemaBuilder.define(String nullIndicator,
SchemaBuilder.SchemaField... fields)
Define (create) a new schema object.
|
static TextRecord |
SchemaBuilder.define(TextConversionDefaults defaults,
SchemaBuilder.SchemaField... fields)
Define (create) a new schema object.
|
static TextRecord |
SchemaBuilder.define(TextTypes.StringConversion conversion,
SchemaBuilder.SchemaField... fields)
Define (create) a new schema object.
|
static SchemaBuilder |
SchemaBuilder.newInstance(SchemaBuilder.SchemaField... fields)
Create a new schema builder reference.
|
static SchemaBuilder |
SchemaBuilder.newInstance(String nullIndicator,
SchemaBuilder.SchemaField... fields)
Create a new schema builder reference.
|
static SchemaBuilder |
SchemaBuilder.newInstance(TextConversionDefaults defaults,
SchemaBuilder.SchemaField... fields)
Create a new schema builder reference.
|
static SchemaBuilder |
SchemaBuilder.newInstance(TextTypes.StringConversion conversion,
SchemaBuilder.SchemaField... fields)
Create a new schema builder reference.
|
Copyright © 2016 Actian Corporation. All rights reserved.