Class SchemaXmlParser.StandardParser
java.lang.Object
io.deephaven.enterprise.schema.xml.SchemaXmlParser.StandardParser
- All Implemented Interfaces:
SchemaXmlParser
- Direct Known Subclasses:
LegacySchemaXmlParser.LegacyParser
- Enclosing interface:
- SchemaXmlParser
public abstract static class SchemaXmlParser.StandardParser
extends Object
implements SchemaXmlParser
Contract: copies element, does not change it.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.enterprise.schema.xml.SchemaXmlParser
SchemaXmlParser.StandardParser -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jdom2.ElementgetMergeCodecName(String mergeFormat) parseDataIndexSets(org.jdom2.Element immutableElement) parseV2Loggers(org.jdom2.Element immutableElement, String namespace, String tableName) Separate this logic out to make testing easier.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.enterprise.schema.xml.SchemaXmlParser
validate
-
Field Details
-
DISABLE_VALIDATION
-
-
Constructor Details
-
StandardParser
protected StandardParser(@NotNull org.jdom2.Element originalElement)
-
-
Method Details
-
getAttributesMap
-
getImmutableElement
protected org.jdom2.Element getImmutableElement() -
getNamespace
- Specified by:
getNamespacein interfaceSchemaXmlParser
-
getDefaultMergeFormat
- Specified by:
getDefaultMergeFormatin interfaceSchemaXmlParser- Throws:
SchemaValidationException
-
getMergeCodecName
@Nullable public String getMergeCodecName(@NotNull String mergeFormat) throws SchemaValidationException - Specified by:
getMergeCodecNamein interfaceSchemaXmlParser- Throws:
SchemaValidationException
-
getTableName
- Specified by:
getTableNamein interfaceSchemaXmlParser
-
getStorageType
- Specified by:
getStorageTypein interfaceSchemaXmlParser
-
getPartitionKeyFormula
- Specified by:
getPartitionKeyFormulain interfaceSchemaXmlParser
-
getLoggers
- Specified by:
getLoggersin interfaceSchemaXmlParser
-
getV2Loggers
- Specified by:
getV2Loggersin interfaceSchemaXmlParser
-
getListeners
- Specified by:
getListenersin interfaceSchemaXmlParser
-
getLoggerListeners
- Specified by:
getLoggerListenersin interfaceSchemaXmlParser
-
getImportSources
- Specified by:
getImportSourcesin interfaceSchemaXmlParser
-
getValidator
- Specified by:
getValidatorin interfaceSchemaXmlParser
-
getDataIndexSets
- Specified by:
getDataIndexSetsin interfaceSchemaXmlParser
-
getExtendedStorage
- Specified by:
getExtendedStoragein interfaceSchemaXmlParser
-
getInputTableStateSpec
- Specified by:
getInputTableStateSpecin interfaceSchemaXmlParser
-
parseDataIndexSets
-
parseV2Loggers
protected abstract List<V2Logger> parseV2Loggers(@NotNull org.jdom2.Element immutableElement, @NotNull String namespace, @NotNull String tableName) Separate this logic out to make testing easier.- Parameters:
immutableElement- the table element to parse- Returns:
- the collection of parsed Loggers
- Throws:
SchemaValidationException- if errors are encountered
-