- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.statement.select.Top
-
- All Implemented Interfaces:
Serializable,net.sf.jsqlparser.parser.ASTNodeAccess
public class Top extends net.sf.jsqlparser.parser.ASTNodeAccessImpl implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Top()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongetExpression()<E extends Expression>
EgetExpression(Class<E> type)booleanhasParenthesis()booleanisPercentage()booleanisWithTies()voidsetExpression(Expression expression)voidsetParenthesis(boolean hasParenthesis)voidsetPercentage(boolean percentage)voidsetWithTies(boolean withTies)StringtoString()TopwithExpression(Expression expression)
-
-
-
Method Detail
-
getExpression
public Expression getExpression()
-
setExpression
public void setExpression(Expression expression)
-
hasParenthesis
public boolean hasParenthesis()
-
setParenthesis
public void setParenthesis(boolean hasParenthesis)
-
isPercentage
public boolean isPercentage()
-
setPercentage
public void setPercentage(boolean percentage)
-
isWithTies
public boolean isWithTies()
-
setWithTies
public void setWithTies(boolean withTies)
-
toString
public String toString()
- Overrides:
toStringin classnet.sf.jsqlparser.parser.ASTNodeAccessImpl
-
withExpression
public Top withExpression(Expression expression)
-
getExpression
public <E extends Expression> E getExpression(Class<E> type)
-
-