Package org.apache.cassandra.schema
Class DistributedSchema
java.lang.Object
org.apache.cassandra.schema.DistributedSchema
Immutable snapshot of the current schema along with its version.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisEmpty()static StringschemaVersionToString(UUID version) Converts the given schema version to a string.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
DistributedSchema
-
-
Method Details
-
getKeyspaces
-
isEmpty
public boolean isEmpty() -
getVersion
-
schemaVersionToString
Converts the given schema version to a string. Returnsunknown, ifversionisnullor"(empty)", ifversionrefers to anSchemaConstants.emptyVersionschema. -
equals
-
hashCode
public int hashCode()
-