Class InvalidSchema
java.lang.Object
io.deephaven.enterprise.schema.impl.InvalidSchema
- All Implemented Interfaces:
Schema
Placeholder schema for tables that delegate to nonexistent/invalid sources.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.enterprise.schema.Schema
Schema.AbstractSchema, Schema.Delegating -
Method Summary
Modifier and TypeMethodDescriptionGet an unmodifiable map of column names to column descriptions.Return the input table specification from this schema.@NotNull StringGets the namespace of the table@NotNull NamespaceSetGets theNamespaceSetto which this schema belongsGets theTableDefinitioncorresponding to this Schema@NotNull StringGets the table description from the schema.@NotNull StringGets the name of the table@NotNull SchemaVersionGets the version information of this schemastatic SchemaConstruct anInvalidSchemainstance which does not implement anySchemafunctionalitytoString()
-
Method Details
-
of
public static Schema of(@NotNull @NotNull String namespace, @NotNull @NotNull String tableName, @NotNull @NotNull String message) Construct anInvalidSchemainstance which does not implement anySchemafunctionality- Parameters:
namespace- the Namespace of theInvalidSchematableName- the TableName of theInvalidSchemamessage- the message to use when throwing from unimplemented methods- Returns:
- a new
InvalidSchemainstance
-
getNamespace
Description copied from interface:SchemaGets the namespace of the table- Specified by:
getNamespacein interfaceSchema- Returns:
- The namespace of the table
-
getTableName
Description copied from interface:SchemaGets the name of the table- Specified by:
getTableNamein interfaceSchema- Returns:
- The name of the table
-
getNamespaceSet
Description copied from interface:SchemaGets theNamespaceSetto which this schema belongs- Specified by:
getNamespaceSetin interfaceSchema- Returns:
- The
NamespaceSetto which this schema belongs
-
getTableDefinition
Description copied from interface:SchemaGets theTableDefinitioncorresponding to this Schema- Specified by:
getTableDefinitionin interfaceSchema- Returns:
- The
TableDefinitioncorresponding to this Schema
-
getVersion
Description copied from interface:SchemaGets the version information of this schema- Specified by:
getVersionin interfaceSchema- Returns:
- The version of this schema
-
getColumnDescriptions
Description copied from interface:SchemaGet an unmodifiable map of column names to column descriptions. Columns which do not have a description defined may not be represented in the map.- Specified by:
getColumnDescriptionsin interfaceSchema- Returns:
- A map of column names to column descriptions
-
getTableDescription
Description copied from interface:SchemaGets the table description from the schema.- Specified by:
getTableDescriptionin interfaceSchema- Returns:
- The table description from the schema.
-
getInputTableStateSpec
Description copied from interface:SchemaReturn the input table specification from this schema.- Specified by:
getInputTableStateSpecin interfaceSchema- Returns:
- The input table specification if present, or null.
-
toString
-