public class AdvancedEntityResult extends EntityResult
EntityResult that adds information about number of records and index
of first record of ResultSet contained. This object is returned in {@link TableEntity#query(java.util.Hashtable, java.util.Vector, int, int, int, java.util.Vector)
to allow that Table component is pageable.Table.QUERY_ROWS,
PageFetcher,
Serialized FormEntityResult.TimeUtil, EntityResult.Uncompressor| Modifier and Type | Field and Description |
|---|---|
protected int |
startRecordIndex |
protected int |
totalQueryRecordsNumber |
BEST_COMPRESSION, BEST_SPEED, code, columnsOrder, columnsSQLTypes, compressionLevel, compressionThreshold, data, DATA_RESULT, dataByteNumber, DEBUG, DEFAULT_COMPRESSION, DEFAULT_COMPRESSION_THRESHOLD, detail, HUFFMAN_ONLY, message, messageParameter, MIN_BYTE_PROGRESS, MIN_PERCENT_PROGRESS, NO_COMPRESSION, NODATA_RESULT, OPERATION_SUCCESSFUL, OPERATION_SUCCESSFUL_SHOW_MESSAGE, OPERATION_WRONG, operationId, streamTime, type| Constructor and Description |
|---|
AdvancedEntityResult(int cod,
int type)
Creates an AdvancedEntityResult with code 'cod' and type 'type'
|
AdvancedEntityResult(int cod,
int type,
int totalQueryRecords)
Creates an AdvancedEntityResult with code 'cod', type 'type', and the
total query records number equals to 'totalQueryRecords'
|
AdvancedEntityResult(int cod,
int type,
String m)
Creates an AdvancedEntityResult with code value 'cod', with type 'type'
and the message 'm'
|
AdvancedEntityResult(int cod,
int type,
String m,
int totalQueryRecords)
Creates an AdvancedEntityResult with code 'cod', type 'type' and with the
message 'm', and the total query records number equals to
'totalQueryRecords'
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentRecordCount()
Gets the total records number that the object contains.
|
int |
getStartRecordIndex() |
int |
getTotalRecordCount()
Gets the total query records count
|
void |
setStartRecordIndex(int startRecordIndex) |
void |
setTotalRecordCount(int totalQueryRecords)
Sets the total query records count
|
addRecord, addRecord, calculateRecordNumber, clear, clone, compressionBytes, contains, containsKey, containsValue, deepClone, deleteRecord, elements, entrySet, get, get, getBytesNumber, getCode, getColumnSQLType, getColumnSQLTypes, getCompressionThreshold, getDetails, getMessage, getMessageParameter, getOrderColumns, getRecordIndex, getRecordValues, getRecordValues, getStreamTime, getType, indexOfData, isEmpty, isWrong, keys, keySet, main, put, putAll, remove, setCode, setColumnOrder, setColumnSQLTypes, setCompressionLevel, setCompressionThreshold, setMessage, setMessage, setMessageParameters, setOperationId, setType, size, toString, uncompressionBytes, uncompressionBytes, valuesprotected int totalQueryRecordsNumber
protected int startRecordIndex
public AdvancedEntityResult(int cod,
int type,
String m)
cod - type - m - public AdvancedEntityResult(int cod,
int type)
cod - type - public AdvancedEntityResult(int cod,
int type,
String m,
int totalQueryRecords)
cod - type - m - totalQueryRecords - public AdvancedEntityResult(int cod,
int type,
int totalQueryRecords)
cod - type - totalQueryRecords - public int getStartRecordIndex()
public void setStartRecordIndex(int startRecordIndex)
public int getTotalRecordCount()
public void setTotalRecordCount(int totalQueryRecords)
totalQueryRecords - public int getCurrentRecordCount()
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.