public class Query extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Query.Operate |
Constructor and Description |
---|
Query() |
Modifier and Type | Method and Description |
---|---|
Query |
and(String... fieldNameArr) |
Query |
and(String fieldName,
Query.Operate operator) |
Query |
custom(String... customCondictionArr) |
Query |
data(String... fieldNameArr) |
static String |
getActualOperate(Query.Operate operate) |
Map<String,Query.Operate> |
getAndFields() |
List<String> |
getCustomCondictions() |
List<String> |
getDataFields() |
protected Map<String[],Boolean> |
getOrderFields() |
Map<String,Query.Operate> |
getOrFields() |
int |
getPageNumber() |
int |
getPageSize() |
boolean |
hasCondiction() |
int |
hashCode() |
static Query |
newInstance() |
Query |
or(String... fieldNameArr) |
Query |
or(String fieldName,
Query.Operate operator) |
Query |
order(Boolean isDesc,
String... fieldNames) |
Query |
order(String... fieldNames) |
Query |
page(int pageNumber,
int pageSize) |
void |
setPageNumber(int pageNumber) |
void |
setPageSize(int pageSize) |
public boolean hasCondiction()
public Query and(String fieldName, Query.Operate operator)
public Query or(String fieldName, Query.Operate operator)
public Query page(int pageNumber, int pageSize)
public int getPageNumber()
public void setPageNumber(int pageNumber)
public int getPageSize()
public void setPageSize(int pageSize)
public Map<String,Query.Operate> getAndFields()
public Map<String,Query.Operate> getOrFields()
public static String getActualOperate(Query.Operate operate) throws RecorderException
RecorderException
public static Query newInstance()
Copyright © 2020 Voovan. All rights reserved.