public abstract class Criteria extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
columnName |
protected String |
name |
| Constructor and Description |
|---|
Criteria(String name,
String colunmName)
Instantiates a new criteria.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
abstract StringBuilder |
getFilterClause()
Returns something like (COLUMN = :name).
|
String |
getName()
Gets the name.
|
abstract Object |
getValue()
Returns a value of the Criteria that in suitable SQL type.
|
int |
hashCode() |
abstract Criteria[] |
parseValue(String attribute)
Creates a copy of the given
Criteria populated
with the parsed value or throws an exception. |
public String getName()
public abstract Criteria[] parseValue(String attribute)
Criteria populated
with the parsed value or throws an exception.attribute - the attributepublic abstract Object getValue()
public abstract StringBuilder getFilterClause()
Copyright © 2011–2015 Talend Inc.. All rights reserved.