Module spring.data.cassandra
Class KeyspaceIdentifier
java.lang.Object
org.springframework.data.cassandra.core.cql.KeyspaceIdentifier
- All Implemented Interfaces:
Comparable<KeyspaceIdentifier>
@Deprecated(forRemoval=true)
public final class KeyspaceIdentifier
extends Object
implements Comparable<KeyspaceIdentifier>
Deprecated, for removal: This API element is subject to removal in a future version.
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, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Compares thisKeyspaceIdentifierto the given object.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.static booleanisIdentifier(CharSequence chars) Deprecated, for removal: This API element is subject to removal in a future version.Returnstrueif the givenCharSequenceis a legal keyspace identifier.static KeyspaceIdentifierksId(CharSequence identifier) Deprecated, for removal: This API element is subject to removal in a future version.since 2.0, useof(CharSequence).static KeyspaceIdentifierof(CharSequence identifier) Deprecated, for removal: This API element is subject to removal in a future version.Factory method forKeyspaceIdentifier.toCql()Deprecated, for removal: This API element is subject to removal in a future version.Renders this identifier appropriately.toCql(StringBuilder sb) Deprecated, for removal: This API element is subject to removal in a future version.Appends the rendering of this identifier to the givenStringBuilder, then returns thatStringBuilder.com.datastax.oss.driver.api.core.CqlIdentifierDeprecated, for removal: This API element is subject to removal in a future version.Create aCqlIdentifierfrom thisKeyspaceIdentifier.toString()Deprecated, for removal: This API element is subject to removal in a future version.Alias fortoCql().
-
Field Details
-
REGEX
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
PATTERN
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
ksId
Deprecated, for removal: This API element is subject to removal in a future version.since 2.0, useof(CharSequence).Factory method forKeyspaceIdentifier. Convenient if imported statically. -
of
Deprecated, for removal: This API element is subject to removal in a future version.Factory method forKeyspaceIdentifier. Convenient if imported statically.- Since:
- 2.0
-
isIdentifier
Deprecated, for removal: This API element is subject to removal in a future version.Returnstrueif the givenCharSequenceis a legal keyspace identifier. -
toCql
Deprecated, for removal: This API element is subject to removal in a future version.Renders this identifier appropriately. -
toCql
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.Alias fortoCql(). -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version. -
equals
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.- Specified by:
compareToin interfaceComparable<KeyspaceIdentifier>
-
toCqlIdentifier
public com.datastax.oss.driver.api.core.CqlIdentifier toCqlIdentifier()Deprecated, for removal: This API element is subject to removal in a future version.Create aCqlIdentifierfrom thisKeyspaceIdentifier.- Returns:
- the
CqlIdentifierfrom thisKeyspaceIdentifier. - Since:
- 3.0
-
CqlIdentifier.