| Modifier and Type | Method and Description |
|---|---|
SQLOrderComparator |
SQLAlgebraFactory.createSQLOrderComparator(it.unibz.inf.ontop.model.term.NonConstantTerm term,
boolean isAscending) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<SQLOrderComparator> |
SelectFromWhereWithModifiers.getSortConditions() |
| Modifier and Type | Method and Description |
|---|---|
SelectFromWhereWithModifiers |
SQLAlgebraFactory.createSelectFromWhere(com.google.common.collect.ImmutableSortedSet<it.unibz.inf.ontop.model.term.Variable> projectedVariables,
it.unibz.inf.ontop.substitution.ImmutableSubstitution<? extends it.unibz.inf.ontop.model.term.ImmutableTerm> substitution,
SQLExpression fromExpression,
Optional<it.unibz.inf.ontop.model.term.ImmutableExpression> whereExpression,
com.google.common.collect.ImmutableSet<it.unibz.inf.ontop.model.term.Variable> groupByVariables,
boolean isDistinct,
Optional<Long> limit,
Optional<Long> offset,
com.google.common.collect.ImmutableList<SQLOrderComparator> sortConditions) |
| Modifier and Type | Class and Description |
|---|---|
class |
SQLOrderComparatorImpl |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<SQLOrderComparator> |
SelectFromWhereWithModifiersImpl.getSortConditions() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
MySQLSelectFromWhereSerializer.MySQLRelationVisitingSerializer.serializeOrderBy(com.google.common.collect.ImmutableList<SQLOrderComparator> sortConditions,
com.google.common.collect.ImmutableMap<it.unibz.inf.ontop.model.term.Variable,QualifiedAttributeID> fromColumnMap)
MySQL seems to already treat NULLs as the lowest values
Therefore it seems to follow the semantics of (ASC + NULLS FIRST) and (DESC + NULLS LAST)
See http://sqlfiddle.com/#!9/255d2e/18
|
protected String |
DefaultSelectFromWhereSerializer.DefaultSQLRelationVisitingSerializer.serializeOrderBy(com.google.common.collect.ImmutableList<SQLOrderComparator> sortConditions,
com.google.common.collect.ImmutableMap<it.unibz.inf.ontop.model.term.Variable,QualifiedAttributeID> fromColumnMap) |
protected String |
IgnoreNullFirstSelectFromWhereSerializer.SQLServerSQLRelationVisitingSerializer.serializeOrderBy(com.google.common.collect.ImmutableList<SQLOrderComparator> sortConditions,
com.google.common.collect.ImmutableMap<it.unibz.inf.ontop.model.term.Variable,QualifiedAttributeID> fromColumnMap) |
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.