ENTITY
- The type of the entity being persisted.public class KeylessSqlBuilder<ENTITY> extends Object
PreparedStatement
s used by KeylessDao
s.
Most users of hrorm will have no need to directly use this.
Constructor and Description |
---|
KeylessSqlBuilder(DaoDescriptor<ENTITY,?> daoDescriptor) |
KeylessSqlBuilder(String table,
List<? extends Column<ENTITY,?>> dataColumns,
List<? extends JoinColumn<ENTITY,?,?,?>> joinColumns) |
Modifier and Type | Method and Description |
---|---|
List<? extends Column<ENTITY,?>> |
getDataColumns() |
List<? extends JoinColumn<ENTITY,?,?,?>> |
getJoinColumns() |
String |
getTable() |
String |
insert() |
String |
select() |
String |
select(Order order) |
String |
select(Where where) |
String |
select(Where where,
Order order) |
String |
selectByColumns(ColumnSelection selectColumnList) |
String |
selectByColumns(ColumnSelection columnSelection,
Order order) |
String |
selectFunction(SqlFunction function,
String columnName,
Where where) |
public KeylessSqlBuilder(DaoDescriptor<ENTITY,?> daoDescriptor)
public String getTable()
public List<? extends JoinColumn<ENTITY,?,?,?>> getJoinColumns()
public String select()
public String selectFunction(SqlFunction function, String columnName, Where where)
public String selectByColumns(ColumnSelection selectColumnList)
public String selectByColumns(ColumnSelection columnSelection, Order order)
public String insert()
Copyright © 2019. All rights reserved.