Package org.apache.calcite.sql.validate
Class SqlIdentifierMoniker
java.lang.Object
org.apache.calcite.sql.validate.SqlIdentifierMoniker
- All Implemented Interfaces:
SqlMoniker
An implementation of
SqlMoniker
that encapsulates the normalized name
information of a SqlIdentifier
.-
Field Summary
Fields inherited from interface org.apache.calcite.sql.validate.SqlMoniker
COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the array of component names.getType()
Returns the type of object referred to by this moniker.id()
Creates aSqlIdentifier
containing the fully-qualified name.toString()
-
Constructor Details
-
SqlIdentifierMoniker
Creates an SqlIdentifierMoniker.
-
-
Method Details
-
getType
Description copied from interface:SqlMoniker
Returns the type of object referred to by this moniker. Never null.- Specified by:
getType
in interfaceSqlMoniker
-
getFullyQualifiedNames
Description copied from interface:SqlMoniker
Returns the array of component names.- Specified by:
getFullyQualifiedNames
in interfaceSqlMoniker
-
toIdentifier
Description copied from interface:SqlMoniker
Creates aSqlIdentifier
containing the fully-qualified name.- Specified by:
toIdentifier
in interfaceSqlMoniker
-
toString
-
id
- Specified by:
id
in interfaceSqlMoniker
-