public static class Schema.ParsedName
extends java.lang.Object
Constructor and Description |
---|
Schema.ParsedName()
Default ctor
|
Modifier and Type | Method and Description |
---|---|
ColumnType |
getDT()
Get the column type
|
java.lang.String |
getName()
Get the column name
|
java.lang.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(java.lang.String name)
Set the name
|
void |
setName(java.lang.String name,
ColumnType pdt)
Set the name and type
|
public void setName(java.lang.String name)
name
- column name stringpublic void setName(java.lang.String name, ColumnType pdt)
name
- column name stringpdt
- column typepublic void setDT(ColumnType dt)
dt
- column type to be set withpublic ColumnType getDT()
public java.lang.String getName()
public java.lang.String parseName(Schema.ColumnSchema fs) throws org.apache.hadoop.zebra.parser.ParseException
fs
- column schema this column name is checked against withorg.apache.hadoop.zebra.parser.ParseException
Copyright © 2007-2012 The Apache Software Foundation