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:ColumnMetadata
orFieldIdentifier
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnMetadata
columnMetadata(TableMetadata cfm)
static Selectable.RawIdentifier
forQuoted(java.lang.String text)
Creates aRawIdentifier
from a quoted identifier string.static Selectable.RawIdentifier
forUnquoted(java.lang.String text)
Creates aRawIdentifier
from an unquoted identifier string.Selectable
prepare(TableMetadata cfm)
FieldIdentifier
toFieldIdentifier()
java.lang.String
toString()
-
-
-
Method Detail
-
forUnquoted
public static Selectable.RawIdentifier forUnquoted(java.lang.String text)
Creates aRawIdentifier
from an unquoted identifier string.
-
forQuoted
public static Selectable.RawIdentifier forQuoted(java.lang.String text)
Creates aRawIdentifier
from a quoted identifier string.
-
columnMetadata
public ColumnMetadata columnMetadata(TableMetadata cfm)
-
prepare
public Selectable prepare(TableMetadata cfm)
- Specified by:
prepare
in interfaceSelectable.Raw
-
toFieldIdentifier
public FieldIdentifier toFieldIdentifier()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-