Class Selectable.RawIdentifier
- java.lang.Object
-
- org.apache.cassandra.cql3.selection.Selectable.RawIdentifier
-
- All Implemented Interfaces:
Selectable.Raw
- Enclosing interface:
- Selectable
public static final class Selectable.RawIdentifier extends java.lang.Object implements Selectable.Raw
In the selection clause, the parser cannot differentiate between Maps and UDTs as a column identifier and field identifier have the same syntax. By consequence, we need to wait until the type is known to create the proper Object:ColumnMetadataorFieldIdentifier.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Selectable.RawIdentifierforQuoted(java.lang.String text)Creates aRawIdentifierfrom a quoted identifier string.static Selectable.RawIdentifierforUnquoted(java.lang.String text)Creates aRawIdentifierfrom an unquoted identifier string.ColumnMetadataprepare(TableMetadata cfm)FieldIdentifiertoFieldIdentifier()java.lang.StringtoString()
-
-
-
Method Detail
-
forUnquoted
public static Selectable.RawIdentifier forUnquoted(java.lang.String text)
Creates aRawIdentifierfrom an unquoted identifier string.
-
forQuoted
public static Selectable.RawIdentifier forQuoted(java.lang.String text)
Creates aRawIdentifierfrom a quoted identifier string.
-
prepare
public ColumnMetadata prepare(TableMetadata cfm)
- Specified by:
preparein interfaceSelectable.Raw
-
toFieldIdentifier
public FieldIdentifier toFieldIdentifier()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-