This project has retired. For details please refer to its Attic page.
FieldValidator (Lens 2.1.0-beta-incubating API)

org.apache.lens.cube.parse
Class FieldValidator

java.lang.Object
  extended by org.apache.lens.cube.parse.FieldValidator

public class FieldValidator
extends Object

Validate fields based on cube queryability


Constructor Summary
FieldValidator()
           
 
Method Summary
 void rewriteContext(CubeQueryContext cubeql)
          Rewrites and updates CubeQueryContext
 void validateFields(CubeQueryContext cubeql)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldValidator

public FieldValidator()
Method Detail

rewriteContext

public void rewriteContext(CubeQueryContext cubeql)
                    throws org.apache.hadoop.hive.ql.parse.SemanticException
Rewrites and updates CubeQueryContext

Parameters:
cubeql - CubeQueryContext
Throws:
org.apache.hadoop.hive.ql.parse.SemanticException

validateFields

public void validateFields(CubeQueryContext cubeql)
                    throws org.apache.hadoop.hive.ql.parse.SemanticException
Throws:
org.apache.hadoop.hive.ql.parse.SemanticException


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