org.apache.falcon.entity.parser
Class CrossEntityValidations
java.lang.Object
org.apache.falcon.entity.parser.CrossEntityValidations
public final class CrossEntityValidations
- extends Object
Validation helper functions to validate across process, feed and cluster definitions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validateInstanceRange
public static void validateInstanceRange(org.apache.falcon.entity.v0.process.Process process,
org.apache.falcon.entity.v0.process.Input input,
org.apache.falcon.entity.v0.feed.Feed feed)
throws FalconException
- Throws:
FalconException
validateFeedRetentionPeriod
public static void validateFeedRetentionPeriod(String startInstance,
org.apache.falcon.entity.v0.feed.Feed feed,
String clusterName)
throws FalconException
- Throws:
FalconException
validateInstance
public static void validateInstance(org.apache.falcon.entity.v0.process.Process process,
org.apache.falcon.entity.v0.process.Output output,
org.apache.falcon.entity.v0.feed.Feed feed)
throws FalconException
- Throws:
FalconException
validateInputPartition
public static void validateInputPartition(org.apache.falcon.entity.v0.process.Input input,
org.apache.falcon.entity.v0.feed.Feed feed)
throws ValidationException
- Throws:
ValidationException
validateFeedDefinedForCluster
public static void validateFeedDefinedForCluster(org.apache.falcon.entity.v0.feed.Feed feed,
String clusterName)
throws FalconException
- Throws:
FalconException
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.