Class KeyspaceStatus
Holds information about a database's schema as returned by GetStatusAsync().
Namespace: Neon.Cassandra
Assembly: Neon.Cassandra.dll
Syntax
public class KeyspaceStatus
Properties
Error
Returns the error from a previous upgrade attempt when
SchemaStatus=
UpgradeError.
Declaration
public string Error { get; }
Property Value
Type | Description |
---|---|
string |
IsCurrent
Returns true
when the database has schema information and the current version
is the same as the most recent schema script.
Declaration
public bool IsCurrent { get; }
Property Value
Type | Description |
---|---|
bool |
MaxVersion
Returns the maximum known schema version as determined by the available schema scripts.
Declaration
public int MaxVersion { get; }
Property Value
Type | Description |
---|---|
int |
SchemaStatus
Returns an indication of whether the database exisis and has schema information.
Declaration
public SchemaStatus SchemaStatus { get; }
Property Value
Type | Description |
---|---|
SchemaStatus |
Updater
Identifes the updater claiming to be currently upgrading the database when
SchemaStatus()=
Updating.
Declaration
public string Updater { get; }
Property Value
Type | Description |
---|---|
string |
Version
Returns the database's current schema version or -1 when the database doesn't exist or have a DBINFO table.
Declaration
public int Version { get; }
Property Value
Type | Description |
---|---|
int |