public class ColumnField extends Object
| Modifier and Type | Field and Description |
|---|---|
ColumnInfo |
column |
String |
description
Description for this field of the column.
|
int |
globalFieldIndex
Global index of this field across all columns of the input file.
|
String |
group
An optional group to which this column field belongs.
|
String |
id
Field identifier.
|
static String[] |
NO_GROUPS |
boolean |
notSeen |
int |
numberOfValues
Number of values listed in this field.
|
ColumnType |
type
Data type for the column.
|
| Constructor and Description |
|---|
ColumnField()
Construct an empty field.
|
ColumnField(String id,
int numberOfValues,
ColumnType type,
String description)
Construct a field with provided information.
|
ColumnField(String id,
int numberOfValues,
ColumnType type,
String description,
String... groups)
Construct a field with provided information.
|
public static final String[] NO_GROUPS
public String id
public int globalFieldIndex
public int numberOfValues
public ColumnType type
public String description
public String group
public ColumnInfo column
public boolean notSeen
public ColumnField()
public ColumnField(String id, int numberOfValues, ColumnType type, String description)
id - Field identifiernumberOfValues - Number of values in the fieldtype - Field type.description - Description for field content.public ColumnField(String id, int numberOfValues, ColumnType type, String description, String... groups)
id - Field identifiernumberOfValues - Number of values in the fieldtype - Field type.description - Description for field content.groups - a list of groups the field belongs to.Copyright © 2017 Campagne Laboratory. All rights reserved.