@PublicEvolving public class Identifier extends Object implements Token
Identifier class wraps the primitive type String in a object.
An object of type Identifier contains the value in primitive type
as well as the type of the token this class represents.
In addition, this class provides two methods one to extract the value held by this wrapper object, and the second for extracting the type of the token.
BoolList,
ColumnName,
ColumnNameList,
DirectiveName,
Numeric,
NumericList,
Properties,
Ranges,
Expression,
Text,
TextList,
Serialized Form| Constructor and Description |
|---|
Identifier(String value)
Allocates a
String object representing the
value argument. |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
toJson()
Returns the members of this
Identifier object as a JsonElement. |
TokenType |
type()
Returns the type of this
Identifier object as a TokenType
enum. |
String |
value()
Returns the value of this
String object as a boolean
primitive. |
public Identifier(String value)
String object representing the
value argument.value - the value of the String.Copyright © 2020 CDAP Licensed under the Apache License, Version 2.0.