public static class UpdateValidator.UpdateInfo extends Object
Constructor and Description |
---|
UpdateInfo() |
Modifier and Type | Method and 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() |
public Map<ElementSymbol,List<Set<Constant>>> getPartitionInfo()
public boolean isSimple()
public UpdateValidator.UpdateMapping getDeleteTarget()
public boolean isInherentDelete()
public boolean isInherentInsert()
public boolean isInherentUpdate()
public UpdateValidator.UpdateType getUpdateType()
public UpdateValidator.UpdateType getDeleteType()
public boolean hasValidUpdateMapping(Collection<ElementSymbol> updateCols)
public UpdateValidator.UpdateMapping findUpdateMapping(Collection<ElementSymbol> updateCols, boolean insert)
public UpdateValidator.UpdateMapping findInsertUpdateMapping(Insert insert, boolean rewrite) throws QueryValidatorException
QueryValidatorException
public Query getViewDefinition()
public String getDeleteValidationError()
public String getInsertValidationError()
public String getUpdateValidationError()
public List<UpdateValidator.UpdateInfo> getUnionBranches()
Copyright © 2020. All rights reserved.