@AnnotationProcessing public class SelectSegment<O extends Segment<O>,S extends SelectSegment<O,S>> extends BaseSegment<S> implements SqlNodeBuilder, TableAccessibleHolder
| 构造器和说明 |
|---|
SelectSegment(O owner,
TableSegment<? extends TableSegment<?>> table) |
| 限定符和类型 | 方法和说明 |
|---|---|
O |
alias(String alias) |
S |
aliasPrefix(String aliasPrefix) |
S |
aliasSuffix(String aliasSuffix) |
S |
aliasWithField(boolean withFieldAlias) |
S |
all() |
S |
apply(Expression function) |
S |
apply(Expression function,
int tableIndex,
String field) |
S |
apply(Expression function,
Map<String,Object> bindings) |
S |
apply(Expression function,
Object[] bindings) |
S |
apply(Expression function,
String tableAlias,
String field) |
S |
apply(Expression function,
TableField... extFields) |
S |
apply(Expression function,
TableField[] extFields,
Map<String,Object> bindings) |
S |
apply(Expression function,
TableField[] extFields,
Object... bindings) |
S |
apply(String functionPattern) |
S |
apply(String functionPattern,
int tableIndex,
String field) |
S |
apply(String functionPattern,
Map<String,Object> bindings) |
S |
apply(String functionPattern,
Object[] bindings) |
S |
apply(String functionPattern,
String tableAlias,
String field) |
S |
apply(String functionPattern,
TableField... extFields) |
S |
apply(String functionPattern,
TableField[] extFields,
Map<String,Object> bindings) |
S |
apply(String functionPattern,
TableField[] extFields,
Object... bindings) |
S |
avg() |
<T,R> S |
column(GetterFunction<T,R> getter) |
S |
column(String field) |
S |
count() |
O |
end() |
List<String> |
getSelectRawColumns() |
TableAccessible |
getTableAccessible() |
boolean |
hasSelectRawColumn(String columnOrAlias) |
S |
max() |
S |
min() |
S |
sql(SqlNode sql) |
S |
sum() |
SqlNode |
toSqlNode() |
SqlNode |
toSqlNode(boolean quotaAlias) |
O |
value(Object value,
String alias) |
getThis@AnnotationProcessing public SelectSegment(O owner, TableSegment<? extends TableSegment<?>> table)
public TableAccessible getTableAccessible()
getTableAccessible 在接口中 TableAccessibleHolderpublic SqlNode toSqlNode()
toSqlNode 在接口中 SqlNodeBuilderpublic SqlNode toSqlNode(boolean quotaAlias)
public boolean hasSelectRawColumn(String columnOrAlias)
public O end()
public S apply(String functionPattern, TableField[] extFields, Object... bindings)
public S apply(String functionPattern, TableField... extFields)
public S apply(Expression function)
public S apply(Expression function, Map<String,Object> bindings)
public S apply(Expression function, Object[] bindings)
public S apply(Expression function, TableField... extFields)
public S apply(Expression function, TableField[] extFields, Map<String,Object> bindings)
public S apply(Expression function, TableField[] extFields, Object... bindings)
public S apply(Expression function, int tableIndex, String field)
public S apply(Expression function, String tableAlias, String field)
public S count()
public S sum()
public S max()
public S min()
public S avg()
public S all()
public <T,R> S column(GetterFunction<T,R> getter)
@AnnotationProcessing public S column(String field)
public S aliasWithField(boolean withFieldAlias)
Copyright © 2024 fossc. All rights reserved.