|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.sqls.impl.PartsImpl
| Constructor Summary | |
protected |
PartsImpl(Statement pStatement)
|
| Method Summary | |
protected void |
add(java.lang.Object o)
|
void |
addPart()
Inserts a NULL value. |
void |
addPart(boolean pBoolean)
Inserts a boolean value, which will be inserted as the word TRUE, or FALSE, respectively. |
void |
addPart(byte pByte)
Inserts a byte value, which will be inserted without quotes. |
void |
addPart(Case pCase)
Inserts a "case foo when x then a when y then b else c end" clause. |
void |
addPart(ColumnReference pColumn)
Inserts a column reference. |
void |
addPart(ColumnReference[] pColumns)
Inserts a set of column references. |
void |
addPart(double pDouble)
Inserts a double value, which will be inserted without quotes. |
void |
addPart(Expression pExpression)
Inserts an arithmetic expression. |
void |
addPart(float pFloat)
Inserts a float value, which will be inserted without quotes. |
void |
addPart(Function pFunction)
Inserts a function. |
void |
addPart(int pInt)
Inserts an int value, which will be inserted without quotes. |
void |
addPart(long pLong)
Inserts a long value, which will be inserted without quotes. |
void |
addPart(SelectStatement pStatement)
Inserts a subselect. |
void |
addPart(short pShort)
Inserts a short value, which will be inserted without quotes. |
void |
addPart(java.lang.String pString)
Inserts a String. |
void |
addPart(Value pValue)
Inserts a constant value. |
void |
addPlaceholder()
Inserts a placeholder. |
void |
addRawSQLPart(java.lang.String pRawSQL)
Inserts raw SQL code. |
Expression |
createDIFFERENCE()
Creates an arithmetic difference. |
Expression |
createPRODUCT()
Creates an arithmetic product. |
Expression |
createQUOTIENT()
Creates an arithmetic quotient. |
Expression |
createSUM()
Creates an arithmetic sum. |
int |
getNumParts()
Returns the number of parts. |
java.util.Iterator |
getParts()
Returns an Iterator to the parts that have been added. |
Statement |
getStatement()
Returns the statement, to which the part belongs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.ws.jaxme.sqls.Parts |
getMaximumParts, getMinimumParts |
| Constructor Detail |
protected PartsImpl(Statement pStatement)
| Method Detail |
protected void add(java.lang.Object o)
public Statement getStatement()
public void addPart(Value pValue)
PartsInserts a constant value.
addPart in interface Partspublic void addPart(ColumnReference pColumn)
PartsInserts a column reference.
addPart in interface Partspublic void addPart(ColumnReference[] pColumns)
PartsInserts a set of column references.
addPart in interface Partspublic void addPart(SelectStatement pStatement)
PartsInserts a subselect.
addPart in interface Partspublic void addPart(java.lang.String pString)
PartsInserts a String. The String will be properly escaped.
addPart in interface Partspublic void addPart()
PartsInserts a NULL value.
addPart in interface Partspublic void addPart(byte pByte)
PartsInserts a byte value, which will be inserted without quotes.
addPart in interface Partspublic void addPart(int pInt)
PartsInserts an int value, which will be inserted without quotes.
addPart in interface Partspublic void addPart(long pLong)
PartsInserts a long value, which will be inserted without quotes.
addPart in interface Partspublic void addPart(short pShort)
PartsInserts a short value, which will be inserted without quotes.
addPart in interface Partspublic void addPart(float pFloat)
PartsInserts a float value, which will be inserted without quotes.
addPart in interface Partspublic void addPart(double pDouble)
PartsInserts a double value, which will be inserted without quotes.
addPart in interface Partspublic void addPart(boolean pBoolean)
PartsInserts a boolean value, which will be inserted as the word
TRUE, or FALSE, respectively.
addPart in interface Partspublic void addPart(Function pFunction)
PartsInserts a function.
addPart in interface Partspublic void addPart(Expression pExpression)
Parts
addPart in interface Partspublic void addPlaceholder()
PartsInserts a placeholder.
addPlaceholder in interface Partspublic void addRawSQLPart(java.lang.String pRawSQL)
Inserts raw SQL code.
addRawSQLPart in interface Partspublic int getNumParts()
PartsReturns the number of parts.
getNumParts in interface Partspublic java.util.Iterator getParts()
PartsReturns an Iterator to the parts that have been added.
getParts in interface Partspublic void addPart(Case pCase)
Parts
addPart in interface Partspublic Expression createSUM()
Parts
createSUM in interface Partspublic Expression createPRODUCT()
Parts
createPRODUCT in interface Partspublic Expression createDIFFERENCE()
Parts
createDIFFERENCE in interface Partspublic Expression createQUOTIENT()
Parts
createQUOTIENT in interface Parts
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||