org.apache.hadoop.hive.ql
Class QueryProperties
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryProperties
public QueryProperties()
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