Package org.apache.cassandra.schema
Class SchemaKeyspace
java.lang.Object
org.apache.cassandra.schema.SchemaKeyspace
system_schema.* tables and methods for manipulating them.
Please notice this class is _not_ thread safe and all methods which reads or updates the data in schema keyspace
should be accessed only from the implementation of
SchemaUpdateHandler in synchronized blocks.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddTableParamsToRowBuilder(TableParams params, Row.SimpleBuilder builder) static UUIDRead schema from system keyspace and calculate MD5 digest of every row, resulting digest will be converted into UUID which would act as content-based version of the schema.static ColumnMetadatacreateColumnFromRow(UntypedResultSet.Row row, Types types, UserFunctions functions) static Keyspacesstatic KeyspaceMetadatametadata()
-
Method Details
-
metadata
-
calculateSchemaDigest
Read schema from system keyspace and calculate MD5 digest of every row, resulting digest will be converted into UUID which would act as content-based version of the schema. -
addTableParamsToRowBuilder
-
fetchNonSystemKeyspaces
-
createColumnFromRow
public static ColumnMetadata createColumnFromRow(UntypedResultSet.Row row, Types types, UserFunctions functions)
-