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 class
SchemaXmlParser.Factory
static class
SchemaXmlParser.StandardParser
Contract: copies element, does not change it. -
Method Summary
Modifier and Type Method Description List<String[]>
getDataIndexSets()
Database.StorageFormat
getDefaultMergeFormat()
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()
String
getMergeCodecName(String mergeFormat)
String
getNamespace()
NamespaceSet
getNamespaceSet()
String
getPartitionKeyFormula()
Integer
getStorageType()
TableDefinition
getTableDefinition()
String
getTableName()
Validator
getValidator()
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
-