public class EnumCriteria extends Criteria
| Modifier and Type | Field and Description |
|---|---|
protected Enum<?> |
value |
columnName, name| Constructor and Description |
|---|
EnumCriteria(String name,
String colunmName,
Class<? extends Enum> clazz)
Instantiates a new enum criteria.
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
getFilterClause()
Returns something like (COLUMN = :name).
|
Object |
getValue()
Returns a value of the Criteria that in suitable SQL type.
|
Criteria[] |
parseValue(String value)
Creates a copy of the given
Criteria populated
with the parsed value or throws an exception. |
protected Enum<?> value
public Criteria[] parseValue(String value)
CriteriaCriteria populated
with the parsed value or throws an exception.parseValue in class Criteriavalue - the attributepublic Object getValue()
Criteriapublic StringBuilder getFilterClause()
CriteriagetFilterClause in class CriteriaCopyright © 2011–2015 Talend Inc.. All rights reserved.