public class UpdateValidator extends Object
This visitor is used to validate updates through virtual groups. The command defining
the virtual group is always a Query
. This object visits various parts of
this Query
and verifies if the virtual group definition will allows it to be
updated.
Modifier and Type | Class and Description |
---|---|
static class |
UpdateValidator.UpdateInfo |
static class |
UpdateValidator.UpdateMapping |
static class |
UpdateValidator.UpdateType |
Constructor and Description |
---|
UpdateValidator(QueryMetadataInterface qmi,
UpdateValidator.UpdateType insertType,
UpdateValidator.UpdateType updateType,
UpdateValidator.UpdateType deleteType) |
Modifier and Type | Method and Description |
---|---|
ValidatorReport |
getDeleteReport() |
ValidatorReport |
getInsertReport() |
ValidatorReport |
getReport() |
UpdateValidator.UpdateInfo |
getUpdateInfo() |
ValidatorReport |
getUpdateReport() |
void |
validate(Command command,
List<ElementSymbol> viewSymbols) |
public UpdateValidator(QueryMetadataInterface qmi, UpdateValidator.UpdateType insertType, UpdateValidator.UpdateType updateType, UpdateValidator.UpdateType deleteType)
public UpdateValidator.UpdateInfo getUpdateInfo()
public ValidatorReport getReport()
public ValidatorReport getDeleteReport()
public ValidatorReport getInsertReport()
public ValidatorReport getUpdateReport()
public void validate(Command command, List<ElementSymbol> viewSymbols) throws QueryMetadataException, TeiidComponentException
Copyright © 2019. All rights reserved.