public static class CsvSchema.Column extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static CsvSchema.Column |
PLACEHOLDER |
Modifier | Constructor and Description |
---|---|
|
CsvSchema.Column(CsvSchema.Column src,
CsvSchema.Column next) |
protected |
CsvSchema.Column(CsvSchema.Column src,
int index,
CsvSchema.Column next) |
|
CsvSchema.Column(int index,
String name) |
|
CsvSchema.Column(int index,
String name,
CsvSchema.ColumnType type) |
|
CsvSchema.Column(int index,
String name,
CsvSchema.ColumnType type,
int arrayElementSep)
Deprecated.
use
#Column(int, String, ColumnType, String) instead |
|
CsvSchema.Column(int index,
String name,
CsvSchema.ColumnType type,
String arrayElementSep) |
Modifier and Type | Method and Description |
---|---|
String |
getArrayElementSeparator() |
int |
getIndex() |
String |
getName() |
CsvSchema.Column |
getNext() |
CsvSchema.Column |
getNextWithName(String name)
Access that returns same as
getNext() iff name of that
column is same as given name |
CsvSchema.ColumnType |
getType() |
boolean |
hasName(String n) |
boolean |
isArray() |
CsvSchema.Column |
withArrayElementSeparator(String separator) |
CsvSchema.Column |
withElementSeparator(int separator)
Deprecated.
use
withArrayElementSeparator(String) instead |
CsvSchema.Column |
withName(String newName) |
CsvSchema.Column |
withNext(CsvSchema.Column next) |
CsvSchema.Column |
withNext(int index,
CsvSchema.Column next) |
CsvSchema.Column |
withType(CsvSchema.ColumnType newType) |
public static final CsvSchema.Column PLACEHOLDER
public CsvSchema.Column(int index, String name)
public CsvSchema.Column(int index, String name, CsvSchema.ColumnType type)
@Deprecated public CsvSchema.Column(int index, String name, CsvSchema.ColumnType type, int arrayElementSep)
#Column(int, String, ColumnType, String)
insteadpublic CsvSchema.Column(int index, String name, CsvSchema.ColumnType type, String arrayElementSep)
public CsvSchema.Column(CsvSchema.Column src, CsvSchema.Column next)
protected CsvSchema.Column(CsvSchema.Column src, int index, CsvSchema.Column next)
public CsvSchema.Column withName(String newName)
public CsvSchema.Column withType(CsvSchema.ColumnType newType)
@Deprecated public CsvSchema.Column withElementSeparator(int separator)
withArrayElementSeparator(String)
insteadpublic CsvSchema.Column withArrayElementSeparator(String separator)
public CsvSchema.Column withNext(CsvSchema.Column next)
public CsvSchema.Column withNext(int index, CsvSchema.Column next)
public int getIndex()
public String getName()
public CsvSchema.ColumnType getType()
public CsvSchema.Column getNext()
public CsvSchema.Column getNextWithName(String name)
getNext()
iff name of that
column is same as given namepublic boolean hasName(String n)
public String getArrayElementSeparator()
public boolean isArray()
Copyright © 2016 FasterXML. All rights reserved.