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, wait
getMaximumParts, getMinimumParts
protected PartsImpl(Statement pStatement)
protected void add(java.lang.Object o)
public Statement getStatement()
public void addPart(Value pValue)
Parts
Inserts a constant value.
public void addPart(ColumnReference pColumn)
Parts
Inserts a column reference.
public void addPart(ColumnReference[] pColumns)
Parts
Inserts a set of column references.
public void addPart(SelectStatement pStatement)
Parts
Inserts a subselect.
public void addPart(java.lang.String pString)
Parts
Inserts a String. The String will be properly escaped.
public void addPart()
Parts
Inserts a NULL value.
public void addPart(byte pByte)
Parts
Inserts a byte value, which will be inserted without quotes.
public void addPart(int pInt)
Parts
Inserts an int value, which will be inserted without quotes.
public void addPart(long pLong)
Parts
Inserts a long value, which will be inserted without quotes.
public void addPart(short pShort)
Parts
Inserts a short value, which will be inserted without quotes.
public void addPart(float pFloat)
Parts
Inserts a float value, which will be inserted without quotes.
public void addPart(double pDouble)
Parts
Inserts a double value, which will be inserted without quotes.
public void addPart(boolean pBoolean)
Parts
Inserts a boolean value, which will be inserted as the word
TRUE
, or FALSE
, respectively.
public void addPart(Function pFunction)
Parts
Inserts a function.
public void addPart(Expression pExpression)
Parts
public void addPlaceholder()
Parts
Inserts a placeholder.
addPlaceholder
in interface Parts
public void addRawSQLPart(java.lang.String pRawSQL)
Inserts raw SQL code.
addRawSQLPart
in interface Parts
public int getNumParts()
Parts
Returns the number of parts.
getNumParts
in interface Parts
public java.util.Iterator getParts()
Parts
Returns an Iterator to the parts that have been added.
public void addPart(Case pCase)
Parts
public Expression createSUM()
Parts
public Expression createPRODUCT()
Parts
createPRODUCT
in interface Parts
public Expression createDIFFERENCE()
Parts
createDIFFERENCE
in interface Parts
public Expression createQUOTIENT()
Parts
createQUOTIENT
in interface Parts