| Constructor and Description |
|---|
Schema.ParsedName()
Default ctor
|
| Modifier and Type | Method and Description |
|---|---|
ColumnType |
getDT()
Get the column type
|
String |
getName()
Get the column name
|
String |
parseName(Schema.ColumnSchema fs)
Parse one sector of a fully qualified column name; also checks validity
of use of the MAP and RECORD delimiters
|
void |
setDT(ColumnType dt)
Set the column type
|
void |
setName(String name)
Set the name
|
void |
setName(String name,
ColumnType pdt)
Set the name and type
|
public void setName(String name)
name - column name stringpublic void setName(String name, ColumnType pdt)
name - column name stringpdt - column typepublic void setDT(ColumnType dt)
dt - column type to be set withpublic ColumnType getDT()
public String getName()
public String parseName(Schema.ColumnSchema fs) throws ParseException
fs - column schema this column name is checked against withParseExceptionCopyright © 2007-2012 The Apache Software Foundation