CqlIdentifier.@Deprecated public final class KeyspaceIdentifier extends Object implements Comparable<KeyspaceIdentifier>
toCql(),
toCql(StringBuilder), or toString().toCql(),
toString()| Modifier and Type | Field and Description |
|---|---|
static Pattern |
PATTERN
Deprecated.
|
static String |
REGEX
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(KeyspaceIdentifier that)
Deprecated.
|
boolean |
equals(Object that)
Deprecated.
Compares this
KeyspaceIdentifier to the given object. |
int |
hashCode()
Deprecated.
|
static boolean |
isIdentifier(CharSequence chars)
Deprecated.
Returns
true if the given CharSequence is a legal keyspace identifier. |
static KeyspaceIdentifier |
ksId(CharSequence identifier)
Deprecated.
since 2.0, use
of(CharSequence). |
static KeyspaceIdentifier |
of(CharSequence identifier)
Deprecated.
Factory method for
KeyspaceIdentifier. |
String |
toCql()
Deprecated.
Renders this identifier appropriately.
|
StringBuilder |
toCql(StringBuilder sb)
Deprecated.
Appends the rendering of this identifier to the given
StringBuilder, then returns that
StringBuilder. |
com.datastax.oss.driver.api.core.CqlIdentifier |
toCqlIdentifier()
Deprecated.
Create a
CqlIdentifier from this KeyspaceIdentifier. |
String |
toString()
Deprecated.
Alias for
toCql(). |
public static final String REGEX
public static final Pattern PATTERN
@Deprecated public static KeyspaceIdentifier ksId(CharSequence identifier)
of(CharSequence).KeyspaceIdentifier. Convenient if imported statically.public static KeyspaceIdentifier of(CharSequence identifier)
KeyspaceIdentifier. Convenient if imported statically.public static boolean isIdentifier(CharSequence chars)
true if the given CharSequence is a legal keyspace identifier.public String toCql()
public StringBuilder toCql(StringBuilder sb)
StringBuilder, then returns that
StringBuilder. If null is given, a new StringBuilder is created, appended to, and
returned.public boolean equals(Object that)
KeyspaceIdentifier to the given object. Note that if a CharSequence is given, a new
KeyspaceIdentifier is created from it and compared, such that a CharSequence can be effectively
equal to a KeyspaceIdentifier.public int compareTo(KeyspaceIdentifier that)
compareTo in interface Comparable<KeyspaceIdentifier>public com.datastax.oss.driver.api.core.CqlIdentifier toCqlIdentifier()
CqlIdentifier from this KeyspaceIdentifier.CqlIdentifier from this KeyspaceIdentifier.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.