public class AnalyticFunction extends Object implements Expression
| Modifier and Type | Class and Description |
|---|---|
static class |
AnalyticFunction.Partition |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.relational.core.sql.AnalyticFunction.AliasedAnalyticFunction |
as(SqlIdentifier alias) |
org.springframework.data.relational.core.sql.AnalyticFunction.AliasedAnalyticFunction |
as(String alias) |
static AnalyticFunction |
create(String function,
Expression... arguments) |
boolean |
equals(Object obj)
|
int |
hashCode()
Generate a hash code from this
Segment. |
AnalyticFunction |
orderBy(Expression... orderByExpression) |
AnalyticFunction |
orderBy(OrderByField... orderBy) |
AnalyticFunction |
partitionBy(Expression... partitionBy) |
String |
toString()
Return a SQL string representation of this
Segment. |
void |
visit(Visitor visitor)
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static AnalyticFunction create(String function, Expression... arguments)
public AnalyticFunction partitionBy(Expression... partitionBy)
public AnalyticFunction orderBy(OrderByField... orderBy)
public AnalyticFunction orderBy(Expression... orderByExpression)
public org.springframework.data.relational.core.sql.AnalyticFunction.AliasedAnalyticFunction as(String alias)
public org.springframework.data.relational.core.sql.AnalyticFunction.AliasedAnalyticFunction as(SqlIdentifier alias)
public int hashCode()
SegmentSegment.
Hashcode typically derives from the Segment.toString() representation so two Segments yield the same
Segment.hashCode() if their Segment.toString() representation matches.public boolean equals(Object obj)
SegmentSegment is equal to another Segment.
Equality is typically given if the Segment.toString() representation matches.public String toString()
SegmentSegment.
The representation is intended for debugging purposes and an approximation to the generated SQL. While it might
work in the context of a specific dialect, you should not assume that the Segment.toString() representation works across
multiple databases.Copyright © 2017–2022 Pivotal Software, Inc.. All rights reserved.