public enum CQLRenderMode extends Enum<CQLRenderMode>
| Enum Constant and Description |
|---|
ALIASED_SELECTOR
Render the fragment as a selector with an optional alias, if required (for SELECT statements).
|
INTERNAL
Render the fragment in internal form; for identifiers, this is the form stored in the driver's
schema metadata and in the system tables, e.g.
|
NAMED_ASSIGNMENT
Render the fragment as an assignment to a named bound variable (for INSERT, UPDATE and DELETE
statements).
|
POSITIONAL_ASSIGNMENT
Render the fragment as an assignment to a positional bound variable (for INSERT, UPDATE and
DELETE statements).
|
UNALIASED_SELECTOR
Render the fragment as an unaliased selector (for SELECT statements).
|
VARIABLE
Render the fragment as a CQL identifier, for example, to reference a named bound variable.
|
| Modifier and Type | Method and Description |
|---|---|
static CQLRenderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CQLRenderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CQLRenderMode NAMED_ASSIGNMENT
:"MyVar".public static final CQLRenderMode POSITIONAL_ASSIGNMENT
?.
This render mode is not used anymore and was only useful when connecting with protocol version 1.
public static final CQLRenderMode UNALIASED_SELECTOR
"MyVar".
This render mode is not used anymore and was only useful when connecting with protocol * version 1.
public static final CQLRenderMode ALIASED_SELECTOR
"MyVar" AS "MyVar".public static final CQLRenderMode VARIABLE
"MyVar".public static final CQLRenderMode INTERNAL
MyVar.public static CQLRenderMode[] values()
for (CQLRenderMode c : CQLRenderMode.values()) System.out.println(c);
public static CQLRenderMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2021 DataStax. All rights reserved.