Methods Summary |
---|
protected boolean | addCondition(java.lang.StringBuffer buffer, java.lang.String on)Appends the 'on' condition to the buffer, returning true if the condition was added.
Returns false if the 'on' condition was empty.
if ( StringHelper.isNotEmpty( on ) ) {
if ( !on.startsWith( " and" ) ) buffer.append( " and " );
buffer.append( on );
return true;
}
else {
return false;
}
|
public abstract void | addCondition(java.lang.String alias, java.lang.String[] fkColumns, java.lang.String[] pkColumns)
|
public abstract boolean | addCondition(java.lang.String condition)
|
public abstract void | addCrossJoin(java.lang.String tableName, java.lang.String alias)
|
public void | addFragment(org.hibernate.sql.JoinFragment ojf)
if ( ojf.hasThetaJoins() ) {
hasThetaJoins = true;
}
addJoins( ojf.toFromFragmentString(), ojf.toWhereFragmentString() );
|
public abstract void | addJoin(java.lang.String tableName, java.lang.String alias, java.lang.String[] fkColumns, java.lang.String[] pkColumns, int joinType)
|
public abstract void | addJoin(java.lang.String tableName, java.lang.String alias, java.lang.String[] fkColumns, java.lang.String[] pkColumns, int joinType, java.lang.String on)
|
public abstract void | addJoins(java.lang.String fromFragment, java.lang.String whereFragment)
|
public abstract org.hibernate.sql.JoinFragment | copy()
|
public boolean | hasFilterCondition()True if the where fragment is from a filter condition.
return hasFilterCondition;
|
public boolean | hasThetaJoins()
return hasThetaJoins;
|
public void | setHasFilterCondition(boolean b)
this.hasFilterCondition = b;
|
public void | setHasThetaJoins(boolean hasThetaJoins)
this.hasThetaJoins = hasThetaJoins;
|
public abstract java.lang.String | toFromFragmentString()
|
public abstract java.lang.String | toWhereFragmentString()
|