Package com.illumon.iris.db.schema.xml
Interface SchemaXmlParser
- All Known Implementing Classes:
SchemaXmlParser.StandardParser
public interface SchemaXmlParser
Interface for parsing XML schema Elements.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSchemaXmlParser.Factorystatic classSchemaXmlParser.StandardParserContract: copies element, does not change it. -
Method Summary
Modifier and Type Method Description List<String[]>getDataIndexSets()Database.StorageFormatgetDefaultMergeFormat()List<com.illumon.iris.db.schema.xml.ImportSourceXmlImpl>getImportSources()List<com.illumon.iris.db.schema.xml.ListenerXmlImpl>getListeners()List<com.illumon.iris.db.schema.xml.LoggerListenerXmlImpl>getLoggerListeners()List<com.illumon.iris.db.schema.xml.LoggerXmlImpl>getLoggers()StringgetMergeCodecName(String mergeFormat)StringgetNamespace()NamespaceSetgetNamespaceSet()StringgetPartitionKeyFormula()IntegergetStorageType()TableDefinitiongetTableDefinition()StringgetTableName()ValidatorgetValidator()List<SchemaValidationException>validate(boolean lenientValidation)Validate the XML in the element, throw an exception if any errors are found.
-
Method Details
-
getNamespace
-
getTableName
-
getDefaultMergeFormat
- Throws:
SchemaValidationException
-
getMergeCodecName
- Throws:
SchemaValidationException
-
getNamespaceSet
-
getStorageType
-
getPartitionKeyFormula
-
getTableDefinition
-
getLoggers
-
getListeners
-
getLoggerListeners
-
getImportSources
-
getValidator
-
validate
@NotNull List<SchemaValidationException> validate(boolean lenientValidation) throws SchemaValidationExceptionValidate the XML in the element, throw an exception if any errors are found.- Parameters:
lenientValidation- if true, ClassNotFoundExceptions will be ignored when validating- Returns:
- SchemaValidationExceptions list of exceptions that were ignored because lenientValidation==true
- Throws:
SchemaValidationException- if any errors are found validating
-
getDataIndexSets
-