public class Query
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COUNT_QUERY |
static java.lang.String |
SELECT_QUERY |
Constructor and Description |
---|
Query() |
Query(java.lang.String tablename) |
Query(java.lang.String tablename,
java.lang.String tablename_alias) |
Modifier and Type | Method and Description |
---|---|
void |
add_condition(QueryCondition cond) |
void |
add_join(java.lang.String tablename,
QueryCondition cond) |
void |
addColumn(java.lang.String column) |
java.lang.String |
getColumn(int i) |
java.util.ArrayList<java.lang.String> |
getColumns() |
java.util.ArrayList<QueryCondition> |
getConditionFields() |
java.util.ArrayList<QueryCondition> |
getEAVConditionFields() |
java.lang.String |
getOrderBy() |
java.lang.String |
getQueryType() |
java.util.ArrayList<QueryCondition> |
getStandardConditionFields() |
java.lang.String |
getTableAlias() |
java.lang.String |
getTableName() |
void |
remove_all_conditions() |
void |
setColumns(java.util.ArrayList<java.lang.String> columns) |
void |
setConditionFields(java.util.ArrayList<QueryCondition> cond_fields) |
void |
setEAVConditionFields(java.util.ArrayList<QueryCondition> cond_fields) |
void |
setOrderBy(java.lang.String order_by) |
void |
setQueryType(java.lang.String query_type) |
void |
setStandardConditionFields(java.util.ArrayList<QueryCondition> cond_fields) |
void |
setTableAlias(java.lang.String tablename_alias) |
void |
setTableName(java.lang.String tablename) |
public static final java.lang.String COUNT_QUERY
public static final java.lang.String SELECT_QUERY
public Query()
public Query(java.lang.String tablename)
public Query(java.lang.String tablename, java.lang.String tablename_alias)
public java.util.ArrayList<java.lang.String> getColumns()
public void setColumns(java.util.ArrayList<java.lang.String> columns)
public java.lang.String getColumn(int i)
public void addColumn(java.lang.String column)
public java.util.ArrayList<QueryCondition> getStandardConditionFields()
public void setStandardConditionFields(java.util.ArrayList<QueryCondition> cond_fields)
public java.util.ArrayList<QueryCondition> getEAVConditionFields()
public void setEAVConditionFields(java.util.ArrayList<QueryCondition> cond_fields)
public java.util.ArrayList<QueryCondition> getConditionFields()
public void setConditionFields(java.util.ArrayList<QueryCondition> cond_fields)
public java.lang.String getQueryType()
public void setQueryType(java.lang.String query_type)
public java.lang.String getOrderBy()
public void setOrderBy(java.lang.String order_by)
public java.lang.String getTableAlias()
public void setTableAlias(java.lang.String tablename_alias)
public java.lang.String getTableName()
public void setTableName(java.lang.String tablename)
public void add_condition(QueryCondition cond)
public void add_join(java.lang.String tablename, QueryCondition cond)
public void remove_all_conditions()