org.apache.falcon.update
Class UpdateHelper

java.lang.Object
  extended by org.apache.falcon.update.UpdateHelper

public final class UpdateHelper
extends Object

Helper methods to facilitate entity updates.


Method Summary
static boolean shouldUpdate(Entity oldEntity, Entity newEntity, Entity affectedEntity)
           
static boolean shouldUpdate(Entity oldEntity, Entity newEntity, String cluster)
           
static boolean shouldUpdate(org.apache.falcon.entity.v0.feed.Feed oldFeed, org.apache.falcon.entity.v0.feed.Feed newFeed, org.apache.falcon.entity.v0.process.Process affectedProcess)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shouldUpdate

public static boolean shouldUpdate(Entity oldEntity,
                                   Entity newEntity,
                                   String cluster)
                            throws FalconException
Throws:
FalconException

shouldUpdate

public static boolean shouldUpdate(Entity oldEntity,
                                   Entity newEntity,
                                   Entity affectedEntity)
                            throws FalconException
Throws:
FalconException

shouldUpdate

public static boolean shouldUpdate(org.apache.falcon.entity.v0.feed.Feed oldFeed,
                                   org.apache.falcon.entity.v0.feed.Feed newFeed,
                                   org.apache.falcon.entity.v0.process.Process affectedProcess)
                            throws FalconException
Throws:
FalconException


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.