Package org.teiid.query.validator
Class UpdateValidator.UpdateInfo
- java.lang.Object
-
- org.teiid.query.validator.UpdateValidator.UpdateInfo
-
- Enclosing class:
- UpdateValidator
public static class UpdateValidator.UpdateInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description UpdateInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateValidator.UpdateMapping
findInsertUpdateMapping(Insert insert, boolean rewrite)
UpdateValidator.UpdateMapping
findUpdateMapping(Collection<ElementSymbol> updateCols, boolean insert)
UpdateValidator.UpdateMapping
getDeleteTarget()
UpdateValidator.UpdateType
getDeleteType()
String
getDeleteValidationError()
String
getInsertValidationError()
Map<ElementSymbol,List<Set<Constant>>>
getPartitionInfo()
List<UpdateValidator.UpdateInfo>
getUnionBranches()
UpdateValidator.UpdateType
getUpdateType()
String
getUpdateValidationError()
Query
getViewDefinition()
boolean
hasValidUpdateMapping(Collection<ElementSymbol> updateCols)
boolean
isInherentDelete()
boolean
isInherentInsert()
boolean
isInherentUpdate()
boolean
isSimple()
-
-
-
Method Detail
-
getPartitionInfo
public Map<ElementSymbol,List<Set<Constant>>> getPartitionInfo()
-
isSimple
public boolean isSimple()
-
getDeleteTarget
public UpdateValidator.UpdateMapping getDeleteTarget()
-
isInherentDelete
public boolean isInherentDelete()
-
isInherentInsert
public boolean isInherentInsert()
-
isInherentUpdate
public boolean isInherentUpdate()
-
getUpdateType
public UpdateValidator.UpdateType getUpdateType()
-
getDeleteType
public UpdateValidator.UpdateType getDeleteType()
-
hasValidUpdateMapping
public boolean hasValidUpdateMapping(Collection<ElementSymbol> updateCols)
-
findUpdateMapping
public UpdateValidator.UpdateMapping findUpdateMapping(Collection<ElementSymbol> updateCols, boolean insert)
-
findInsertUpdateMapping
public UpdateValidator.UpdateMapping findInsertUpdateMapping(Insert insert, boolean rewrite) throws QueryValidatorException
- Throws:
QueryValidatorException
-
getViewDefinition
public Query getViewDefinition()
-
getDeleteValidationError
public String getDeleteValidationError()
-
getInsertValidationError
public String getInsertValidationError()
-
getUpdateValidationError
public String getUpdateValidationError()
-
getUnionBranches
public List<UpdateValidator.UpdateInfo> getUnionBranches()
-
-