public final class SubquerySegment extends Object implements SelectItemSegment, ExpressionSegment, AliasAvailable
| Constructor and Description |
|---|
SubquerySegment() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<String> |
getAlias()
Get alias.
|
com.google.common.base.Optional<FromWhereSegment> |
getFromWhereSegment()
Get from where segment.
|
com.google.common.base.Optional<GroupBySegment> |
getGroupBySegment()
Get group by segment.
|
com.google.common.base.Optional<OrderBySegment> |
getOrderBySegment()
Get order by segment.
|
com.google.common.base.Optional<SelectClauseSegment> |
getSelectClauseSegment()
Get select clause segment.
|
SQLExpression |
getSQLExpression(String sql)
Get SQL Expression.
|
void |
setAlias(String alias)
Set alias.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStartIndex, getStopIndexpublic com.google.common.base.Optional<SelectClauseSegment> getSelectClauseSegment()
public com.google.common.base.Optional<FromWhereSegment> getFromWhereSegment()
public com.google.common.base.Optional<GroupBySegment> getGroupBySegment()
public com.google.common.base.Optional<OrderBySegment> getOrderBySegment()
public com.google.common.base.Optional<String> getAlias()
AliasAvailablegetAlias in interface AliasAvailablepublic void setAlias(String alias)
AliasAvailablesetAlias in interface AliasAvailablealias - aliaspublic SQLExpression getSQLExpression(String sql)
ExpressionSegmentgetSQLExpression in interface ExpressionSegmentsql - SQL textCopyright © 2019 The Apache Software Foundation. All rights reserved.