public class FetchType extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT
列表、总条数与统计都查询
|
static int |
LIST_ALL
查询所有列表数据,即不分页
|
static int |
LIST_FIRST
只查询第一条列表数据
|
static int |
LIST_ONLY
只查询列表数据(分页)
|
static int |
ONLY_SUMMARY
只查询统计信息
|
static int |
ONLY_TOTAL
只查询总条数
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canPaging() |
String[] |
getSummaryFields() |
int |
getType() |
boolean |
isFetchFirst() |
boolean |
shouldQueryCluster() |
boolean |
shouldQueryList() |
boolean |
shouldQueryTotal() |
public static final int DEFAULT
public static final int LIST_FIRST
public static final int LIST_ONLY
public static final int LIST_ALL
public static final int ONLY_TOTAL
public static final int ONLY_SUMMARY
public FetchType(int type)
public FetchType(int type,
String[] summaryFields)
public int getType()
public String[] getSummaryFields()
public boolean shouldQueryTotal()
public boolean shouldQueryCluster()
public boolean shouldQueryList()
public boolean canPaging()
public boolean isFetchFirst()
Copyright © 2024. All rights reserved.