org.apache.hadoop.hive.ql
Class QueryProperties

java.lang.Object
  extended by org.apache.hadoop.hive.ql.QueryProperties

public class QueryProperties
extends Object

QueryProperties. A structure to contain features of a query that are determined during parsing and may be useful for categorizing a query type These inlucde whether the query contains: a join clause, a group by clause, an order by clause, a sort by clause, a group by clause following a join clause, and whether the query uses a script for mapping/reducing


Constructor Summary
QueryProperties()
           
 
Method Summary
 boolean hasClusterBy()
           
 boolean hasDistributeBy()
           
 boolean hasGroupBy()
           
 boolean hasJoin()
           
 boolean hasJoinFollowedByGroupBy()
           
 boolean hasOrderBy()
           
 boolean hasSortBy()
           
 void setHasClusterBy(boolean hasClusterBy)
           
 void setHasDistributeBy(boolean hasDistributeBy)
           
 void setHasGroupBy(boolean hasGroupBy)
           
 void setHasJoin(boolean hasJoin)
           
 void setHasJoinFollowedByGroupBy(boolean hasJoinFollowedByGroupBy)
           
 void setHasOrderBy(boolean hasOrderBy)
           
 void setHasSortBy(boolean hasSortBy)
           
 void setUsesScript(boolean usesScript)
           
 boolean usesScript()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryProperties

public QueryProperties()
Method Detail

hasJoin

public boolean hasJoin()

setHasJoin

public void setHasJoin(boolean hasJoin)

hasGroupBy

public boolean hasGroupBy()

setHasGroupBy

public void setHasGroupBy(boolean hasGroupBy)

hasOrderBy

public boolean hasOrderBy()

setHasOrderBy

public void setHasOrderBy(boolean hasOrderBy)

hasSortBy

public boolean hasSortBy()

setHasSortBy

public void setHasSortBy(boolean hasSortBy)

hasJoinFollowedByGroupBy

public boolean hasJoinFollowedByGroupBy()

setHasJoinFollowedByGroupBy

public void setHasJoinFollowedByGroupBy(boolean hasJoinFollowedByGroupBy)

usesScript

public boolean usesScript()

setUsesScript

public void setUsesScript(boolean usesScript)

hasDistributeBy

public boolean hasDistributeBy()

setHasDistributeBy

public void setHasDistributeBy(boolean hasDistributeBy)

hasClusterBy

public boolean hasClusterBy()

setHasClusterBy

public void setHasClusterBy(boolean hasClusterBy)


Copyright © 2013 The Apache Software Foundation