R
- row classpublic class WhereTranslator<R> extends AbstractWhereTranslator<R>
Constructor and Description |
---|
WhereTranslator(RowTranslator<R> rowTranslator,
int initialCapacity)
Constructs and empty where condition.
|
WhereTranslator(RowTranslator<R> rowTranslator,
Where whereAnnotation)
Constructs for where annotation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
init(RowTranslator<R> rowTranslator,
Where whereAnnotation)
Initializes.
|
addColumnTranslator, addColumnTranslator, createColumnParameterPhrase, createSql, getParameters, getRowTranslator, initColumnTranslatorList, isCollectionOperand, setParameters
createColumnPhrase, createParameterPhrase, getColumnTranslator, getColumnTranslatorList, getRowClass, isIncluded, isIncludeIdentityColumns, isIncludeReadOnlyColumns, read, setIncludeIdentityColumns, setIncludeReadOnlyColumns, write
public WhereTranslator(RowTranslator<R> rowTranslator, int initialCapacity) throws TranslatorException
AbstractWhereTranslator.addColumnTranslator(ColumnTranslator)
and AbstractWhereTranslator.addColumnTranslator(ColumnTranslator, String, String, String)
.rowTranslator
- row translator for where conditioninitialCapacity
- approximate number of columns that will be in translatorTranslatorException
- if errorpublic WhereTranslator(RowTranslator<R> rowTranslator, Where whereAnnotation) throws TranslatorException
rowTranslator
- row translator for where conditionwhereAnnotation
- annotation with where informationTranslatorException
- if errorprotected void init(RowTranslator<R> rowTranslator, Where whereAnnotation) throws TranslatorException
rowTranslator
- row translator for where conditionwhereAnnotation
- annotation with where informationTranslatorException
- if error