| Modifier and Type | Field and Description |
|---|---|
protected List<Clause> |
clauses |
protected List<ConfigurationProperty> |
configurationProperties |
protected Integer |
endRange |
protected String |
name |
protected Integer |
startRange |
| Constructor and Description |
|---|
Query() |
Query(Select select,
From from) |
Query(Select select,
From from,
GroupBy groupBy) |
Query(Select select,
From from,
OrderBy orderBy) |
Query(Select select,
From from,
OrderBy orderBy,
GroupBy groupBy) |
Query(Select select,
From from,
Where where) |
Query(Select select,
From from,
Where where,
GroupBy groupBy) |
Query(Select select,
From from,
Where where,
OrderBy orderBy) |
Query(Select select,
From from,
Where where,
OrderBy orderBy,
GroupBy groupBy) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(QueryVisitor visitor) |
void |
addConfigurationProperty(ConfigurationProperty prop)
Appends the given property to the configuration property list.
|
void |
addConfigurationProperty(String name,
String value)
Appends the given property to the configuration property list.
|
void |
clearOrderByClause() |
GroupBy |
findGroupByClause() |
List<Join> |
findJoinClauses() |
OrderBy |
findOrderByClause() |
Where |
findWhereClause() |
List<Clause> |
getClauses() |
List<ConfigurationProperty> |
getConfigurationProperties()
Gets the value of the configurationProperties property.
|
String |
getConfigurationProperty(String name)
Returns the configuration property value for the given name
|
Delete |
getDeleteClause() |
Integer |
getEndRange()
Gets the value of the endRange property.
|
From |
getFromClause() |
Query |
getModel()
Returns the underlying query model for this
query.
|
String |
getName()
Gets the value of the name property for the query.
|
Select |
getSelectClause() |
Integer |
getStartRange()
Gets the value of the startRange property.
|
Update |
getUpdateClause() |
Where |
getWhereClause() |
void |
setEndRange(Integer value)
Sets the value of the endRange property.
|
void |
setName(String value)
Sets the value of the name property for the query.
|
void |
setStartRange(Integer value)
Sets the value of the startRange property.
|
protected Integer startRange
protected Integer endRange
protected List<ConfigurationProperty> configurationProperties
protected String name
public Query getModel()
Querypublic Integer getStartRange()
QuerygetStartRange in interface QueryIntegerpublic void setStartRange(Integer value)
QuerysetStartRange in interface Queryvalue - allowed object is
Integerpublic Integer getEndRange()
QuerygetEndRange in interface QueryIntegerpublic void setEndRange(Integer value)
QuerysetEndRange in interface Queryvalue - allowed object is
Integerpublic List<ConfigurationProperty> getConfigurationProperties()
Objects of the following type(s) are allowed in the list
ConfigurationProperty
public void addConfigurationProperty(ConfigurationProperty prop)
prop - public void addConfigurationProperty(String name, String value)
addConfigurationProperty in interface Queryname - the property namevalue - the property valuepublic String getConfigurationProperty(String name)
getConfigurationProperty in interface Queryname - the property namepublic String getName()
Querypublic void setName(String value)
Querypublic void accept(QueryVisitor visitor)
public Select getSelectClause()
getSelectClause in interface Querypublic Update getUpdateClause()
public Delete getDeleteClause()
public From getFromClause()
getFromClause in interface Querypublic Where getWhereClause()
getWhereClause in interface Querypublic Where findWhereClause()
findWhereClause in interface Querypublic void clearOrderByClause()
clearOrderByClause in interface Querypublic OrderBy findOrderByClause()
findOrderByClause in interface Querypublic GroupBy findGroupByClause()
findGroupByClause in interface Querypublic List<Join> findJoinClauses()
findJoinClauses in interface QueryCopyright © 2017. All rights reserved.