org.apache.lens.cube.parse
Class ValidationRule

java.lang.Object
  extended by org.apache.lens.cube.parse.ValidationRule
Direct Known Subclasses:
CheckColumnMapping, CheckTableNames

public abstract class ValidationRule
extends Object


Constructor Summary
ValidationRule(org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 String getErrorMessage()
           
abstract  boolean validate(CubeQueryContext ctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationRule

public ValidationRule(org.apache.hadoop.conf.Configuration conf)
Method Detail

validate

public abstract boolean validate(CubeQueryContext ctx)
                          throws org.apache.hadoop.hive.ql.parse.SemanticException
Throws:
org.apache.hadoop.hive.ql.parse.SemanticException

getErrorMessage

public String getErrorMessage()


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.