org.teiid.query.validator
Class UpdateValidator.UpdateInfo

java.lang.Object
  extended by org.teiid.query.validator.UpdateValidator.UpdateInfo
Enclosing class:
UpdateValidator

public static class UpdateValidator.UpdateInfo
extends java.lang.Object


Constructor Summary
UpdateValidator.UpdateInfo()
           
 
Method Summary
 UpdateValidator.UpdateMapping findInsertUpdateMapping(Insert insert, boolean rewrite)
           
 UpdateValidator.UpdateMapping findUpdateMapping(java.util.Collection<ElementSymbol> updateCols, boolean insert)
           
 UpdateValidator.UpdateMapping getDeleteTarget()
           
 UpdateValidator.UpdateType getDeleteType()
           
 java.util.Map<ElementSymbol,java.util.List<java.util.Set<Constant>>> getPartitionInfo()
           
 java.util.List<UpdateValidator.UpdateInfo> getUnionBranches()
           
 UpdateValidator.UpdateType getUpdateType()
           
 Query getViewDefinition()
           
 boolean hasValidUpdateMapping(java.util.Collection<ElementSymbol> updateCols)
           
 boolean isDeleteValidationError()
           
 boolean isInherentDelete()
           
 boolean isInherentInsert()
           
 boolean isInherentUpdate()
           
 boolean isInsertValidationError()
           
 boolean isSimple()
           
 boolean isUpdateValidationError()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateValidator.UpdateInfo

public UpdateValidator.UpdateInfo()
Method Detail

getPartitionInfo

public java.util.Map<ElementSymbol,java.util.List<java.util.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(java.util.Collection<ElementSymbol> updateCols)

findUpdateMapping

public UpdateValidator.UpdateMapping findUpdateMapping(java.util.Collection<ElementSymbol> updateCols,
                                                       boolean insert)

findInsertUpdateMapping

public UpdateValidator.UpdateMapping findInsertUpdateMapping(Insert insert,
                                                             boolean rewrite)
                                                      throws QueryValidatorException
Throws:
QueryValidatorException

getViewDefinition

public Query getViewDefinition()

isDeleteValidationError

public boolean isDeleteValidationError()

isInsertValidationError

public boolean isInsertValidationError()

isUpdateValidationError

public boolean isUpdateValidationError()

getUnionBranches

public java.util.List<UpdateValidator.UpdateInfo> getUnionBranches()


Copyright © 2011. All Rights Reserved.