public abstract class PartsImpl extends java.lang.Object implements Parts
| Modifier | Constructor and Description |
|---|---|
protected |
PartsImpl(Statement pStatement) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaximumParts, getMinimumPartsprotected PartsImpl(Statement pStatement)
protected void add(java.lang.Object o)
public Statement getStatement()
public void addPart(Value pValue)
PartsInserts a constant value.
public void addPart(ColumnReference pColumn)
PartsInserts a column reference.
public void addPart(ColumnReference[] pColumns)
PartsInserts a set of column references.
public void addPart(SelectStatement pStatement)
PartsInserts a subselect.
public void addPart(java.lang.String pString)
PartsInserts a String. The String will be properly escaped.
public void addPart()
PartsInserts a NULL value.
public void addPart(byte pByte)
PartsInserts a byte value, which will be inserted without quotes.
public void addPart(int pInt)
PartsInserts an int value, which will be inserted without quotes.
public void addPart(long pLong)
PartsInserts a long value, which will be inserted without quotes.
public void addPart(short pShort)
PartsInserts a short value, which will be inserted without quotes.
public void addPart(float pFloat)
PartsInserts a float value, which will be inserted without quotes.
public void addPart(double pDouble)
PartsInserts a double value, which will be inserted without quotes.
public void addPart(boolean pBoolean)
PartsInserts a boolean value, which will be inserted as the word
TRUE, or FALSE, respectively.
public void addPart(Function pFunction)
PartsInserts a function.
public void addPart(Expression pExpression)
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.
public void addPart(Case pCase)
Partspublic Expression createSUM()
Partspublic Expression createPRODUCT()
PartscreatePRODUCT in interface Partspublic Expression createDIFFERENCE()
PartscreateDIFFERENCE in interface Partspublic Expression createQUOTIENT()
PartscreateQUOTIENT in interface Parts