| Constructor and Description |
|---|
SelectStatementBuilder(Dialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendFromClauseFragment(String fragment) |
void |
appendFromClauseFragment(String tableName,
String alias) |
void |
appendOrderByFragment(String ordering) |
void |
appendRestrictions(String restrictions) |
void |
appendSelectClauseFragment(SelectFragment selectFragment) |
void |
appendSelectClauseFragment(String selection)
Appends a select clause fragment
|
void |
setComment(String comment) |
void |
setLockMode(LockMode lockMode) |
void |
setLockOptions(LockOptions lockOptions) |
void |
setOuterJoins(String outerJoinsAfterFrom,
String outerJoinsAfterWhere) |
String |
toStatementString()
Construct an SQL SELECT statement from the given clauses
|
public final Dialect dialect
public SelectStatementBuilder(Dialect dialect)
public void appendSelectClauseFragment(String selection)
selection - The selection fragmentpublic void appendSelectClauseFragment(SelectFragment selectFragment)
public void appendFromClauseFragment(String fragment)
public void appendRestrictions(String restrictions)
public void appendOrderByFragment(String ordering)
public void setComment(String comment)
public void setLockMode(LockMode lockMode)
public void setLockOptions(LockOptions lockOptions)
public String toStatementString()
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.