T
- the type of fields in the schemapublic interface RecordTextSchema<T extends TextDataType> extends TextSchema
FixedWidthMultiRecordTextSchema
instead.Modifier and Type | Method and Description |
---|---|
TokenFormatter |
createFieldFormatter(String fieldName)
Creates a new formatter for values of the specified field.
|
TokenParser |
createFieldParser(String fieldName)
Creates a new parser for values of the specified field.
|
TextConversionDefaults |
getDefaults()
Gets the default conversion behaviors for fields in the
schema which do not explicitly define any.
|
int |
getFieldCount()
Gets the number of fields defined in the record.
|
FieldDomain |
getFieldDomain(String name)
Gets the domain of the specified field in the record.
|
List<String> |
getFieldNames()
Gets the names of the fields defined in the record.
|
T |
getFieldType(String name)
Gets the type of the specified fields in the record.
|
RecordTokenType |
getTokenType()
Gets the type of the token representation of the
text record.
|
boolean |
isFieldDefined(String name)
Indicates whether a field with the given name is already
defined.
|
RecordTokenType getTokenType()
int getFieldCount()
List<String> getFieldNames()
boolean isFieldDefined(String name)
name
- the field to checktrue
if a field with the name is
defined in the schema, false
otherwise.T getFieldType(String name)
name
- the field for which to fetch the typeFieldDomain getFieldDomain(String name)
name
- the field for which to fetch the domainTokenParser createFieldParser(String fieldName)
fieldName
- the field for which to obtain a parserTokenFormatter createFieldFormatter(String fieldName)
fieldName
- the field for which to obtain a formatterTextConversionDefaults getDefaults()
Copyright © 2016 Actian Corporation. All rights reserved.