|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ebay.erl.mobius.core.model.Tuple.TupleColumnName
public static final class Tuple.TupleColumnName
Represents the name of a tuple column.
The column name format is specified as a
regular expression in COLUMN_NAME_PATTERN
.
Field Summary | |
---|---|
static java.util.regex.Pattern |
COLUMN_NAME_PATTERN
Column name format of a tuple. |
Constructor Summary | |
---|---|
Tuple.TupleColumnName()
|
Method Summary | |
---|---|
java.lang.String |
getID()
Get the column ID. |
java.lang.String |
getMapKey()
If the column type is map, user can use, for example, ID.MAP_KEY to access a column
named ID , which is a map, and then use
MAP_KEY as the key to get the value. |
static Tuple.TupleColumnName |
valueOf(java.lang.String columnName)
convert the columnName into a Tuple.TupleColumnName . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.regex.Pattern COLUMN_NAME_PATTERN
The format is: ([\\p{Graph}&&[^\\.]]+)(\\.([\\p{Graph}&&[^\\.]]+))?
Constructor Detail |
---|
public Tuple.TupleColumnName()
Method Detail |
---|
public static Tuple.TupleColumnName valueOf(java.lang.String columnName)
columnName
into a Tuple.TupleColumnName
.
public java.lang.String getID()
public java.lang.String getMapKey()
ID.MAP_KEY
to access a column
named ID
, which is a map, and then use
MAP_KEY
as the key to get the value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |