Class KeyspaceIdentifier
java.lang.Object
org.springframework.data.cassandra.core.cql.KeyspaceIdentifier
- All Implemented Interfaces:
Comparable<KeyspaceIdentifier>
@Deprecated
public final class KeyspaceIdentifier
extends Object
implements Comparable<KeyspaceIdentifier>
Deprecated.
This encapsulates the logic for keyspace identifiers.
Keyspace identifiers are converted to lower case. To render, use any of the methods toCql()
,
toCql(StringBuilder)
, or toString()
.
- Author:
- Matthew T. Adams
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(KeyspaceIdentifier that) Deprecated.boolean
Deprecated.Compares thisKeyspaceIdentifier
to the given object.int
hashCode()
Deprecated.static boolean
isIdentifier
(CharSequence chars) Deprecated.Returnstrue
if the givenCharSequence
is a legal keyspace identifier.static KeyspaceIdentifier
ksId
(CharSequence identifier) Deprecated.since 2.0, useof(CharSequence)
.static KeyspaceIdentifier
of
(CharSequence identifier) Deprecated.Factory method forKeyspaceIdentifier
.toCql()
Deprecated.Renders this identifier appropriately.toCql
(StringBuilder sb) Deprecated.Appends the rendering of this identifier to the givenStringBuilder
, then returns thatStringBuilder
.com.datastax.oss.driver.api.core.CqlIdentifier
Deprecated.Create aCqlIdentifier
from thisKeyspaceIdentifier
.toString()
Deprecated.Alias fortoCql()
.
-
Field Details
-
REGEX
Deprecated.- See Also:
-
PATTERN
Deprecated.
-
-
Method Details
-
ksId
Deprecated.since 2.0, useof(CharSequence)
.Factory method forKeyspaceIdentifier
. Convenient if imported statically. -
of
Deprecated.Factory method forKeyspaceIdentifier
. Convenient if imported statically.- Since:
- 2.0
-
isIdentifier
Deprecated.Returnstrue
if the givenCharSequence
is a legal keyspace identifier. -
toCql
Deprecated.Renders this identifier appropriately. -
toCql
Deprecated.Appends the rendering of this identifier to the givenStringBuilder
, then returns thatStringBuilder
. If null is given, a newStringBuilder
is created, appended to, and returned. -
toString
Deprecated.Alias fortoCql()
. -
hashCode
public int hashCode()Deprecated. -
equals
Deprecated.Compares thisKeyspaceIdentifier
to the given object. Note that if aCharSequence
is given, a newKeyspaceIdentifier
is created from it and compared, such that aCharSequence
can be effectively equal to aKeyspaceIdentifier
. -
compareTo
Deprecated.- Specified by:
compareTo
in interfaceComparable<KeyspaceIdentifier>
-
toCqlIdentifier
public com.datastax.oss.driver.api.core.CqlIdentifier toCqlIdentifier()Deprecated.Create aCqlIdentifier
from thisKeyspaceIdentifier
.- Returns:
- the
CqlIdentifier
from thisKeyspaceIdentifier
. - Since:
- 3.0
-
CqlIdentifier
.