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
Fields -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(KeyspaceIdentifier that) Deprecated.booleanDeprecated.Compares thisKeyspaceIdentifierto the given object.inthashCode()Deprecated.static booleanisIdentifier(CharSequence chars) Deprecated.Returnstrueif the givenCharSequenceis a legal keyspace identifier.static KeyspaceIdentifierksId(CharSequence identifier) Deprecated.since 2.0, useof(CharSequence).static KeyspaceIdentifierof(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.CqlIdentifierDeprecated.Create aCqlIdentifierfrom 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.Returnstrueif the givenCharSequenceis 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 newStringBuilderis created, appended to, and returned. -
toString
Deprecated.Alias fortoCql(). -
hashCode
public int hashCode()Deprecated. -
equals
Deprecated.Compares thisKeyspaceIdentifierto the given object. Note that if aCharSequenceis given, a newKeyspaceIdentifieris created from it and compared, such that aCharSequencecan be effectively equal to aKeyspaceIdentifier. -
compareTo
Deprecated.- Specified by:
compareToin interfaceComparable<KeyspaceIdentifier>
-
toCqlIdentifier
public com.datastax.oss.driver.api.core.CqlIdentifier toCqlIdentifier()Deprecated.Create aCqlIdentifierfrom thisKeyspaceIdentifier.- Returns:
- the
CqlIdentifierfrom thisKeyspaceIdentifier. - Since:
- 3.0
-
CqlIdentifier.