Package com.illumon.iris.db.schema
Interface TableDefinitionSchema
- All Superinterfaces:
com.fishlib.base.log.LogOutputAppendable
- All Known Subinterfaces:
MutableSchema,Schema,SchemaXml
- All Known Implementing Classes:
CopyTableSchema,InvalidSchema,Schema.AbstractSchema,Schema.Delegating
public interface TableDefinitionSchema
extends com.fishlib.base.log.LogOutputAppendable
An immutable schema that defines a particular table.
-
Method Summary
Modifier and Type Method Description default com.fishlib.base.log.LogOutputappend(com.fishlib.base.log.LogOutput logOutput)Map<String,String>getColumnDescriptions()Get an unmodifiable map of column names to column descriptions.Database.StorageFormatgetDefaultMergeFormat()StringgetMergeCodecName(String mergeFormat)For the specified merge format, return the defined codec name, if any.StringgetNamespace()NamespaceSetgetNamespaceSet()TableDefinitiongetTableDefinition()StringgetTableDescription()StringgetTableName()TableTypegetTableType(boolean intraday)Get the table type for this schema, depending on if it was an intraday table or not.SchemaVersiongetVersion()
-
Method Details
-
getNamespace
- Returns:
- The namespace of the table
-
getTableName
- Returns:
- The name of the table
-
getDefaultMergeFormat
- Returns:
- the preferred merge storage format
-
getMergeCodecName
For the specified merge format, return the defined codec name, if any.- Parameters:
mergeFormat- the merge format- Returns:
- the codec name, if defined
-
getNamespaceSet
- Returns:
- The
NamespaceSetto which this schema belongs
-
getTableType
Get the table type for this schema, depending on if it was an intraday table or not. Note that the intraday setting is ignored for User table types.- Parameters:
intraday- true if the returned type should reflect an intraday table- Returns:
- The table type
-
getVersion
- Returns:
- The version of this schema
-
getTableDefinition
- Returns:
- The
TableDefinitioncorresponding to this Schema
-
getTableDescription
- Returns:
- The table description from the schema.
-
getColumnDescriptions
Get an unmodifiable map of column names to column descriptions. The map may not contain any columns that don't have descriptions.- Returns:
- A map of column names to column descriptions
-
append
default com.fishlib.base.log.LogOutput append(com.fishlib.base.log.LogOutput logOutput)- Specified by:
appendin interfacecom.fishlib.base.log.LogOutputAppendable
-