public class VariableFieldRecordMetaData extends Object
Modifier and Type | Field and Description |
---|---|
static Pattern |
MULTI_RECORD_PATTERN |
static Pattern |
SINGLE_RECORD_PATTERN |
static RecordMetaData |
UNKNOWN_RECORD_TYPE |
Constructor and Description |
---|
VariableFieldRecordMetaData(String recordElementName,
String fields)
Construct a Variable Field record metadata set.
|
Modifier and Type | Method and Description |
---|---|
RecordMetaData |
buildMultiRecordMetaData(String recordDef) |
static RecordMetaData |
buildRecordMetaData(String recordName,
List<String> fieldNames) |
RecordMetaData |
getRecordMetaData()
Get the record metadata for the variable field record parser.
|
RecordMetaData |
getRecordMetaData(Collection<String> record)
Get the record metadata for the record.
|
RecordMetaData |
getRecordMetaData(String recordTypeName)
Get the record metadata for the variable field record parser.
|
RecordMetaData |
getRecordMetaData(String[] record)
Get the record metadata for the record.
|
boolean |
isMultiTypeRecordSet()
Is this a parser factory for a multi-record type data stream.
|
public static final Pattern SINGLE_RECORD_PATTERN
public static final Pattern MULTI_RECORD_PATTERN
public static RecordMetaData UNKNOWN_RECORD_TYPE
public boolean isMultiTypeRecordSet()
public RecordMetaData getRecordMetaData()
isMultiTypeRecordSet()
public RecordMetaData getRecordMetaData(String recordTypeName)
recordTypeName
- The name of the record type.isMultiTypeRecordSet()
public RecordMetaData getRecordMetaData(String[] record)
record
- The record.isMultiTypeRecordSet()
public RecordMetaData getRecordMetaData(Collection<String> record)
record
- The record.isMultiTypeRecordSet()
public RecordMetaData buildMultiRecordMetaData(String recordDef)
public static RecordMetaData buildRecordMetaData(String recordName, List<String> fieldNames)
Copyright © 2020. All rights reserved.