Package | Description |
---|---|
com.pervasive.datarush.schema |
Provides an object model for capturing schema information used primarily by the
textfile package. |
com.pervasive.datarush.types |
Provides classes and interfaces for the description of token data types.
|
Modifier and Type | Method and Description |
---|---|
FieldDomain |
TextField.getDomain()
Returns the domain of this field
|
FieldDomain |
TextConversionContext.getDomain()
Returns the domain that contains the allowed values for the field.
|
FieldDomain |
SchemaBuilder.SchemaField.getDomain() |
FieldDomain |
RecordTextSchema.getFieldDomain(String name)
Gets the domain of the specified field in the record.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaBuilder.SchemaField.setDomain(FieldDomain domain) |
Constructor and Description |
---|
TextConversionContext(TextConversionDefaults defaults,
FieldDomain domain)
Creates a new text conversion context
|
TextField(String name,
T type,
FieldDomain domain)
Creates a new text field
|
Modifier and Type | Field and Description |
---|---|
static FieldDomain |
FieldDomain.UNSPECIFIED
The unspecified field domain
|
Modifier and Type | Method and Description |
---|---|
static FieldDomain |
TokenTypeConstant.DOMAIN(String... values)
Creates a field domain with the domain set to the given values
|
FieldDomain |
Field.getDomain()
Returns the domain of this field.
|
static FieldDomain |
TypeUtil.mergeDomain(FieldDomain domain1,
FieldDomain domain2)
Merges two domains.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordTokenTypeBuilder.addField(String name,
ScalarTokenType type,
FieldDomain domain)
Adds a field with the specified name and type to this
collection.
|
void |
RecordTokenTypeBuilder.addField(String name,
ScalarTokenType type,
Map<String,String> properties,
FieldDomain domain,
boolean primaryKey)
Adds a field with the specified name and type to this
collection.
|
static Field |
TokenTypeConstant.domain(Field field,
FieldDomain domain)
Returns a new field object with the same type and name as the original, but
with the domain set to the given value.
|
static List<String> |
TypeUtil.getDomainValuesAsStrings(FieldDomain domain)
Returns the values of the domain as strings
|
static FieldDomain |
TypeUtil.mergeDomain(FieldDomain domain1,
FieldDomain domain2)
Merges two domains.
|
Copyright © 2021 Actian Corporation. All rights reserved.