public final class SelectSQLStatementContext extends CommonSQLStatementContext
| Constructor and Description |
|---|
SelectSQLStatementContext(RelationMetas relationMetas,
String sql,
List<Object> parameters,
SelectStatement sqlStatement) |
SelectSQLStatementContext(SelectStatement sqlStatement,
GroupByContext groupByContext,
OrderByContext orderByContext,
ProjectionsContext projectionsContext,
PaginationContext paginationContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSameGroupByAndOrderByItems()
Judge group by and order by sequence is same or not.
|
void |
setIndexes(Map<String,Integer> columnLabelIndexMap)
Set indexes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSqlStatement, getTablesContextpublic SelectSQLStatementContext(SelectStatement sqlStatement, GroupByContext groupByContext, OrderByContext orderByContext, ProjectionsContext projectionsContext, PaginationContext paginationContext)
public SelectSQLStatementContext(RelationMetas relationMetas, String sql, List<Object> parameters, SelectStatement sqlStatement)
public void setIndexes(Map<String,Integer> columnLabelIndexMap)
columnLabelIndexMap - map for column label and indexpublic boolean isSameGroupByAndOrderByItems()
Copyright © 2020 The Apache Software Foundation. All rights reserved.